JDK-4030374 - Java Issue Tracker
Feb 5, 1997 ... ... code for inner class constructors in the wrong order. Therefore ... For example, the following program would fail at runtime: <pre> ...
Feb 5, 1997 ... ... code for inner class constructors in the wrong order. Therefore ... For example, the following program would fail at runtime: <pre> ...
In the below example setting useThreadLocalSerializer=true reuses the LSSerializer. While setting useThreadLocalSerializer=false, both 8u251 and 8u271 provide the same result, but with useThreadLocalSerializer=true, they provide different result.
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.
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.