Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 353126

Summary: improve StubCreator
Product: [Eclipse Project] JDT Reporter: Markus Keller <markus.kell.r>
Component: UIAssignee: Markus Keller <markus.kell.r>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: markus.kell.r
Version: 3.7   
Target Milestone: 3.8 M7   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Fix none

Description Markus Keller CLA 2011-07-26 11:08:01 EDT
Created attachment 200367 [details]
Fix

HEAD

The patch fixes problems with generated super(..) calls in constructor stubs:
- tries to find a super constructor that doesn't throw an exception
- tries to avoid calling overloaded constructors
- adds cast to null where necessary to avoid ambiguous method invocation