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.
Issue Details Provide as much information as you can here to help us understand the problem. You can add any confidential information (Java hs_err log files for example) to the "Confidential info" field. This information won't be included in the public bug report.
Use javap to inspect the resulting byte code. EXPECTED VERSUS ACTUAL BEHAVIOR : EXPECTED - The fields ENABLED and DISABLED should not be referenced in the code using getstatic instructions, but their constant value should have been resolved at compile time and used in code via ldc instructions.
When an issue has been submitted successfully, a record gets created in the Java Incidents Database. After an initial triage process, it may be transferred to be an issue in the JDK project. When such a transfer occurs, an issue gets created in the Java Bug System (JBS) and a bug id, JDK-#######, will be emailed to you.