Bug 160520

Summary: [compiler] Should better locate overriding return type conflict onto return type reference
Product: [Eclipse Project] JDT Reporter: Philipe Mulet <philippe_mulet>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.3   
Target Milestone: 3.3 M4   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 165913    

Description Philipe Mulet CLA 2006-10-11 13:29:14 EDT
3.3M2

Following code generates a complaint against entire header of X#foo(), where only its return type reference should be blamed.

interface I {
	String foo();
}
public class X implements I {
	void foo() throws NullPointException {}
}
Comment 1 Olivier Thomann CLA 2006-11-24 12:17:25 EST
Released for 3.3M4
Comment 2 Olivier Thomann CLA 2006-11-24 12:17:38 EST
Updated existing regression tests.
Comment 3 Frederic Fusier CLA 2006-12-12 13:33:23 EST
Verified for 3.3 M4 using build I20061212-0010.