Summary: | [compiler] Wrong compile errors reported | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Dani Megert <daniel_megert> |
Component: | Core | Assignee: | Philipe Mulet <philippe_mulet> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | critical | ||
Priority: | P3 | CC: | ekuleshov, joseph.varghese.t, kent_johnson |
Version: | 3.1 | ||
Target Milestone: | 3.1 M7 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Dani Megert
2005-05-03 03:59:19 EDT
On 1) I am seeing a visibility issue. Is it what you saw as well ? correct, the error is: The type Entry is not visible PropertyCache.java org.eclipse.core.expressions/src/org/eclipse/core/internal/expressions line 25 Kent - this is a consequence of the getTypeOrPackage caching change. Problem is that in check for ambiguous case, it shouldn't consider non visible foundType. Please double check my change. Added LookupTest#test054. Dani - problem comes from the fact that LinkedHashMap defines a private member type named Entry, which we consider incorrectly. We should only cache positive hits then, since error cases do not happen in 'good' code. Fix released to HEAD. Caching problem bindings is not the problem here. Changed the fix to remove caching of problem types. *** Bug 93607 has been marked as a duplicate of this bug. *** verified in I20050509-2010 |