JDK-4030374 - Java Issue Tracker
Feb 5, 1997 ... ... array before the superclass constructor runs. This is a problem ... code generation error in JDK 1.1.7B compiler. It appears that non ...
Feb 5, 1997 ... ... array before the superclass constructor runs. This is a problem ... code generation error in JDK 1.1.7B compiler. It appears that non ...
It's an error in java.lang.String source code which is the same for all JDK distributions.Create String from char array, release dummy char array. String longString = new String(bigCharArray)
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.
A DESCRIPTION OF THE PROBLEM : The compiler fails to compile a piece of valid Java code: Give the following Stream.ERROR MESSAGES/STACK TRACES THAT OCCUR : An exception has occurred in the compiler (1.8.0_25).