while trying workaround for bug#4071527,
$ javac -J-oss64m a.java
java.io.UTFDataFormatException
at java.io.DataOutputStream.writeUTF(DataOutputStream.java)
at sun.tools.asm.StringConstantData.write(StringConstantData.java)
at sun.tools.asm.ConstantPool.write(ConstantPool.java)
at sun.tools.javac.SourceClass.compileClass(SourceClass.java)
at sun.tools.javac.SourceClass.compile(SourceClass.java)
at sun.tools.javac.Main.compile(Main.java)
at sun.tools.javac.Main.main(Main.java)
error: An exception has occurred in the compiler; please file a bug report (http://java.sun.com/cgi-bin/bugreport.cgi).
1 error
$ javac -J-oss64m a.java
java.io.UTFDataFormatException
at java.io.DataOutputStream.writeUTF(DataOutputStream.java)
at sun.tools.asm.StringConstantData.write(StringConstantData.java)
at sun.tools.asm.ConstantPool.write(ConstantPool.java)
at sun.tools.javac.SourceClass.compileClass(SourceClass.java)
at sun.tools.javac.SourceClass.compile(SourceClass.java)
at sun.tools.javac.Main.compile(Main.java)
at sun.tools.javac.Main.main(Main.java)
error: An exception has occurred in the compiler; please file a bug report (http://java.sun.com/cgi-bin/bugreport.cgi).
1 error
- duplicates
-
JDK-4309152 # Compiler silently generates bytecode that exceeds VM limits
- Closed
- relates to
-
JDK-4071527 javac generates StackOverflowException
- Closed