JDK-4030374 - Java Issue Tracker
Feb 5, 1997 ... The solution is probably to have some compiler analysis of the code ... code generation error in JDK 1.1.7B compiler. It appears that non ...
Feb 5, 1997 ... The solution is probably to have some compiler analysis of the code ... code generation error in JDK 1.1.7B compiler. It appears that non ...
The following test case demonstrates the problem. Run java -XX:CompileOnly=CharArrayCrash CharArrayCrash The program crashes in mixed or -Xcomp mode. Works fine with -Xint. Also works well on 6u37. Crashes on 7u67 and 8u11.
It's an error in java.lang.String source code which is the same for all JDK distributions.I have created a more simple example class which demonstrates this behaviour very clearly. STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : See bug ID 4637640.
When submitting a bug report choose a relevant Product, Category, Subcategory, Java Version and Operating System. Provide a clear description of the bug. Providing a test case could help us to find a solution more quickly. Before submitting a new bug, please search in bugs.java to make sure that the same bug has not been reported already.
at com.intellij.rt.compiler.JavacRunner.main(JavacRunner.java:49) Error: line (0) The compiler did not terminate normally. Exit code is 4.WORK AROUND The most likely cause of this problem is a corrupt jar file. However, it is also possible that the compiler runs out of memory.