JDK-4030374 - Java Issue Tracker
Feb 5, 1997 ... ... code generation error in JDK 1.1.7B compiler. It appears that ... 1 aload_1 2 invokespecial #2 <Method Outer. Super(Outer)> 5 aload_0 ...
Feb 5, 1997 ... ... code generation error in JDK 1.1.7B compiler. It appears that ... 1 aload_1 2 invokespecial #2 <Method Outer. Super(Outer)> 5 aload_0 ...
It's an error in java.lang.String source code which is the same for all JDK distributions.I have created a more simple example class which demonstrates this behaviour very clearly. STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : See bug ID 4637640.
at com.intellij.rt.compiler.JavacRunner.main(JavacRunner.java:49) Error: line (0) The compiler did not terminate normally. Exit code is 4.EVALUATION Summary: If there are errors getting the entry, the return value is always 0. An error in this case could be out of memory, or a corrupt jar file.
JDK-4907574 : JVMTI_ERROR_WRONG_PHASE(112): on checking for an interface.My machine is running RedHat 7.2 with the "java -client-fast -Xint" config
A DESCRIPTION OF THE PROBLEM : The compiler fails to compile a piece of valid Java code: Give the following Stream. Stream<String> items = Arrays.asList("1","2","3","4","5").stream()The error the compiler generates when using the primitive integer version is the following
The workaround is of course simple: Dont make your fields public. Unfortunately this is difficult when using software that is affected by this bug and for which no source code is available. It simply breaks when changing from Java 6 to Java 7 without giving any error messages.