Summary: | Should revisit reference recording | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Philipe Mulet <philippe_mulet> |
Component: | Core | Assignee: | Kent Johnson <kent_johnson> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 3.0 | ||
Target Milestone: | 3.1 M2 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Philipe Mulet
2004-05-13 06:44:28 EDT
Once addressed, should add regression tests along the line of: NegativeTest#test424-426. Got confirmation from spec lead that indeed specs do not mandate this behavior, and that we can freely implement smarter (lazy) behavior. "You are correct - there is no specification for this. The JLS assumes the entire program exists, and it is up to implementations to figure out what compilation units they need and when. So you are free to implement the smarter behavior, as you suggest." Removing the faulting in of hierarchies addresses bug 36397. I cannot come up with a case when we need to do it. We record dependencies as we walk hierarchies looking for receiver types, etc. 424 & 425 now compile without errors but 426 still walks the hierarchy so it continues to fail. Needed to rework findExactMethod since it did its own hierarchy walk. Added DependencyTests to test out changes. Added DependencyTests to test out changes. Verified for 3.1 M2 with build I200409230010. |