Summary: | [1.4/1.5][compiler] Compiler is confused about name clashes in 1.4 project | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Thomas Watson <tjwatson> | ||||||
Component: | Core | Assignee: | Srikanth Sankaran <srikanth_sankaran> | ||||||
Status: | VERIFIED FIXED | QA Contact: | |||||||
Severity: | normal | ||||||||
Priority: | P3 | CC: | Olivier_Thomann | ||||||
Version: | 3.7 | Flags: | Olivier_Thomann:
review+
|
||||||
Target Milestone: | 3.7 M4 | ||||||||
Hardware: | PC | ||||||||
OS: | Mac OS X - Carbon (unsup.) | ||||||||
Whiteboard: | |||||||||
Attachments: |
|
I added a regression test in: org.eclipse.jdt.core.tests.compiler.regression.MethodVerifyTest._test329584() Same type equivalence issue as discussed in https://bugs.eclipse.org/bugs/show_bug.cgi?id=328827#c3 and https://bugs.eclipse.org/bugs/show_bug.cgi?id=329593#c2 This time the method to fix is org.eclipse.jdt.internal.compiler.lookup.MethodVerifier15.areTypesEqual(TypeBinding, TypeBinding) Created attachment 182552 [details]
Proposed fix + test
Thanks for the regression test, Olivier.
I have enabled the test with this fix.
Released in HEAD for 3.7 M4. Olivier, To preserve my sanity, I have released the fix ahead of review. Please go ahead and review the fix. TIA. Looks good. Verified using I20101207-0250 (4.1 I-build) |
Created attachment 182524 [details] test.hooks project I am running with the latest jdt.core in HEAD. The attached project gives me unexpected name clashes and also results in errors about unimplemented method.