Create OpenJDK without "code too large".

Andrew Haley aph at redhat.com
Fri Sep 19 15:26:50 UTC 2014


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.

Andrew.





More information about the discuss mailing list