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)
Should be: NoSuchElementException. Result is correct if remove(0) is called, or if LinkedList is used. STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : See source code`.It's likely this behaviour was observable from Java 7 and perhaps earlier.
Jikes 1.16 emits <array>.clone() rather than Object.clone() in the bytecode, in accordance with JLS 13.1 (javac still does not do this, but that is a subject for a different bug report). With earlier VMs, the sample program below worked, but now it causes a VerifyError.
fails with: Test.java:11: error: incompatible types: cannot infer type-variable(s) T,U.type-variable: CAP#1 extends String from capture of ? extends String 1 error. but if the lambda is implicit: e -> e.trim(), it compiles just fine.
export/kvn/jdk6u25/fastdebug/bin/java -server -XX:+UnlockDiagnosticVMOptions -XX:-UnrollLimitCheck -XX:CICompilerCount=1 -Xbatch -Xcomp t # #. A fatal error has been detected by the Java Runtime Environment