Community
Participate
Working Groups
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.
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)