Community
Participate
Working Groups
HEAD, was OK in 3.7M3 - load org.eclipse.search.tests from :pserver:anonymous@dev.eclipse.org:/cvsroot/eclipse => Wrong compile errors, e.g. in AnnotationManagerTest: It calls new "TestSuite(AnnotationManagerTest.class)", but apparently, the constructor public TestSuite(final Class<? extends TestCase> theClass) {...}\ cannot be found any more.
A similar compile error occurs in org.eclipse.jdt.core.formatter.CodeFormatterApplication: NLS#initializeMessages(String, Class<?>) cannot be resolved here: static { NLS.initializeMessages(BUNDLE_NAME, Messages.class); }
Caused the fix for bug 328689.
> Caused the fix for bug 328689. I meant: Caused *by* the fix for bug 328689.
Srikanth, don't we also need the check for java.lang.Class (similar to what was done org.eclipse.jdt.internal.compiler.lookup.Scope.computeCompatibleMethod(MethodBinding, TypeBinding[], InvocationSite) line 538-542) inside org.eclipse.jdt.internal.compiler.lookup.Scope.parameterCompatibilityLevel(MethodBinding, TypeBinding[]) ?
We are still testing, but it appears that the fix for bug 186565 also appears to address this problem. Stay tuned.
(In reply to comment #5) > We are still testing, but it appears that the fix for > bug 186565 also appears to address this problem. Stay > tuned. Olivier confirmed (Thanks!) that both the scenerii reported in comment#0 and comment#1 are covered by the fix for 186565. I close the current bug as WORKSFORME (since it is not exactly a duplicate of bug 186565)
Verified for 3.7M4 using build I20101205-2000.