Summary: | [DOM] CCE in AST#resolveWellKnownType(..) for java.lang.Boolean without rt.jar | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Markus Keller <markus.kell.r> | ||||||||
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> | ||||||||
Status: | VERIFIED FIXED | QA Contact: | |||||||||
Severity: | normal | ||||||||||
Priority: | P3 | CC: | kent_johnson, Olivier_Thomann, philippe_mulet | ||||||||
Version: | 3.5 | ||||||||||
Target Milestone: | 3.5 M1 | ||||||||||
Hardware: | PC | ||||||||||
OS: | Windows XP | ||||||||||
Whiteboard: | |||||||||||
Attachments: |
|
Description
Markus Keller
2008-07-15 08:29:14 EDT
Created attachment 107631 [details]
Proposed fix + regression tests
Kent, could you please review the part of the fix inside the Scope class? Created attachment 107635 [details]
Same patch + updated regression tests
The scope change could be just : if (!binding.isValidBinding()) { if (binding instanceof PackageBinding) { char[][] qName = new char[][] { compoundName[0] }; return new ProblemReferenceBinding( qName, environment().createMissingType(null, qName), ProblemReasons.NotFound); } return (ReferenceBinding) binding; } Created attachment 107639 [details]
Updated patch with Kent's comment
Released for 3.5M1. Philippe, do you want it to be backported to 3.4.1 ? Verified for 3.5M1 using I20080805-1307 |