Community
Participate
Working Groups
public interface Foo { int run1(int s1, int s2); static int x2 = 0; } interface Foo1 { Foo run2(int argFoo1); } interface X extends Foo{ static int x1 = 2; static Foo f = (x5, x6) -> x5; static Foo1 f1 = af1 -> (a1,b1) -> {int uniqueName = 4; return uniqueName;}; } eclipse compiler clean, reference commandline compiler crash and seemingly total breakdown of code-assist inside the curly braces in the above multilevel lambda. Thanks Anirban
Code assist works fine in this example having been fixed by other recent resolved bugzilla(s). However I noticed that this test case triggers an NPE if the semicolon in the return statement is removed. Fix and tests for that problem released here: http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/commit/?h=BETA_JAVA8&id=31f5d8c3352dfd40743cbafcdc19d9f5e7640d54