Create OpenJDK without "code too large".

Alex Buckley alex.buckley at
Fri Sep 19 16:57:06 UTC 2014

On 9/19/2014 8:51 AM, Remi Forax wrote:
> Technically, it's more a limitation of the classfile format (.class)
>  than the VM, you can not have more than 65535 bytecode instructions
> by method.

The relevant ClassFile limit is in the Code attribute, but it's not the 
u4 code_length item. It's the exception_table item which describes the 
extent of exception handlers with u2 items. See JVMS8 4.7.3.


More information about the discuss mailing list