JDK-4030374 - Java Issue Tracker
Feb 5, 1997 ... ... code generation error in JDK 1.1.7B compiler. It appears that non ... In the code for the Inner constructor, you use an accessor method ...
Feb 5, 1997 ... ... code generation error in JDK 1.1.7B compiler. It appears that non ... In the code for the Inner constructor, you use an accessor method ...
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
It simply breaks when changing from Java 6 to Java 7 without giving any error messages.STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : Run the main method from the class Fail as provided below. It contains a single int array.
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.
User code that wants to indicate that some error has occurred during initialization should use some other exception type. The no-arg and String-bearing constructors initialize the "cause" to null, which results in subsequent calls to initCause() always throwing IllegalStateException.