JDK-4030374 - Java Issue Tracker
Feb 5, 1997 ... ... code generation error in JDK 1.1.7B compiler. It appears that non-local variables that are referenced in an anonymous class are not properly ...
Feb 5, 1997 ... ... code generation error in JDK 1.1.7B compiler. It appears that non-local variables that are referenced in an anonymous class are not properly ...
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)
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
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.