Community
Participate
Working Groups
BETA_JAVA8: Start with the following program in the editor: interface I { void foo(); } interface J { int foo(); } public class X { static void goo(I i) { System.out.println("goo(I)"); } static void goo(J j) { System.out.println("goo(J)"); } public static void main(String[] args) { final boolean x = true; // goo(()-> goo((J)null)); } int f() { final boolean x = true; while (x); } } Delete the first three lines of code - until you save or otherwise modify the buffer you don't get to see errors on the use of I.
Fix and tests available here: http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/commit/?h=BETA_JAVA8&id=87d442c9d1ef66a35b04453c972faa6e201fed9c