Summary: | Java 1.5 generics problem (Eclipse 3.1M1) | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Ayal Spitz <eclipse> |
Component: | Core | Assignee: | Kent Johnson <kent_johnson> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | major | ||
Priority: | P3 | ||
Version: | 3.0 | ||
Target Milestone: | 3.1 M2 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Ayal Spitz
2004-09-13 19:44:27 EDT
This case works if all the types are compiled from source but fails if B is picked up as .class file. ParameterizedTypeBinding.isEquivalentTo does not accept BinaryTypeBindings... just RawTypeBindings. Building on Kents comment, the temporary work around to this bug is to clean the project and then rebuild it. Trying this approach out on both the example outlined and the original, more complex code, seems to do the trick. I知 interested in helping resolve this bug if possible Philippe: double check the fix to BinaryTypeBinding. Fix looks good (matching unresolved scenario). Added GenericTypeTests#test293. . Verified for 3.1 M2 with build I200409231635. |