Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

enum code too large 64k limit

807569Jul 26 2006 — edited Jul 26 2006
While compiling with JDK1.5 received a "code too large" error when trying to compile an enum. Apparently the 64k limit is imposed on the new enum spec.

This restriction doesn't allow for enums with a large set of values which is impractical at best.

Has anyone else encountered this problem and received any response from Sun?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 23 2006
Added on Jul 26 2006
3 comments
976 views