Community
Participate
Working Groups
JDT ignores lexical error and generates bytecode with return statement instead of incorrect line. Example: public class Foo { public static void subRoutine() { foo(bar -> new Baz()))).hereGoesAnything(); // generates return System.out.println("2"); } public static void main(String[] args) { System.out.println("1"); subRoutine(); System.out.println("3"); foo(bar -> new Baz()))); // generates return System.out.println("4"); } }
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.
*** This bug has been marked as a duplicate of bug 553601 ***