Bug 421902 - [1.8][reconciler] Deleting an interface declaration shows no errors on uses of the interface
Summary: [1.8][reconciler] Deleting an interface declaration shows no errors on uses o...
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 4.4   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: BETA J8   Edit
Assignee: Srikanth Sankaran CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-17 05:01 EST by Srikanth Sankaran CLA
Modified: 2013-12-01 08:58 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Srikanth Sankaran CLA 2013-11-17 05:01:01 EST
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.