Community
Participate
Working Groups
It seems also ecj is affected by javac's bug discussed in http://mail.openjdk.java.net/pipermail/compiler-dev/2015-November/009824.html
Hm, the corresponding https://bugs.openjdk.java.net/browse/JDK-8141508 is marked as resolved for Java 9, but I don't think anything stops us from delivering a fix before J9 release.
See also https://bugs.openjdk.java.net/browse/JDK-8058112 and these SO questions discussing the JDK bugs: http://stackoverflow.com/questions/27031244/lambdaconversionexception-with-generics-jvm-bug http://stackoverflow.com/questions/33925551/enum-interfaces-and-java-8-lambdas-code-compiles-but-fails-at-runtime-is-th
This fell between the cracks for Oxygen.1a. Let's try to fix https://bugs.openjdk.java.net/browse/JDK-8191655 at the same time.
bulk move out of 4.8
Bulk move out of 4.9
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.
Without the fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=577466: (1) the code snippet in https://mail.openjdk.org/pipermail/compiler-dev/2015-November/009824.html: crashes at runtime ==> Problem present. (2) All code snippets in https://bugs.openjdk.org/browse/JDK-8058112 run fine ==> Problem fixed independently already (3) Snippet in https://bugs.openjdk.org/browse/JDK-8191655: crashes with "Exception in thread "main" java.lang.BootstrapMethodError: bootstrap method initialization exception" ==> Problem present (4) Snippets in https://stackoverflow.com/questions/27031244/lambdaconversionexception-with-generics-jvm-bug: Crash with: "Exception in thread "main" java.lang.BootstrapMethodError: bootstrap method initialization exception" ==> Problem present (5) Snippets in https://stackoverflow.com/questions/33925551/enum-interfaces-and-java-8-lambdas-code-compiles-but-fails-at-runtime-is-th Crash with: "Exception in thread "main" java.lang.BootstrapMethodError: bootstrap method initialization exception" ==> Problem present With the fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=577466: All these snippets run fine. I'll add regression tests and close this as a duplicate of https://bugs.eclipse.org/bugs/show_bug.cgi?id=577466
Pull request for regression tests with various code snippets referenced here: https://github.com/eclipse-jdt/eclipse.jdt.core/pull/1042 *** This bug has been marked as a duplicate of bug 577466 ***