Create OpenJDK without "code too large".

Andrew Haley aph at
Fri Sep 19 15:56:14 UTC 2014

On 09/19/2014 04:51 PM, Remi Forax wrote:
> On 09/19/2014 05:26 PM, Andrew Haley wrote:
>> Hi,
>> On 09/19/2014 04:20 PM, Pascal Kesseli wrote:
>>> I am trying to create a Java compiler from OpenJDK 8 which ignores
>>> "compiler.err.limit.code" and
>>> "compiler.err.limit.code.too.large.for.try.stmt" errors. I understand there
>>> is no flag in javac to disable this - is there a way to remove them from the
>>> OpenJDK source, such that methods with more instructions will compile?
>> Not really.  The code size is a VM limitation.
> Technically, it's more a limitation of the classfile format (.class) 
> than the VM,

I don't agree.  The limitation is defined in the Java Virtual Machine


More information about the discuss mailing list