Community
Participate
Working Groups
I20080917-0100 Attempting to apply the patch from 245858 comment 1, I get the following warning: Description Resource Path Location Type The constructor org.eclipse.jdt.internal.codeassist.InternalCompletionProposal.InternalCompletionProposal() has been removed InternalCompletionProposal.java org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist line 32 Compatibility Problem Since this class is internal, it should not warn in such case.
Jerome, does a clean/full build of the project make the error go away?
I reproduced the problem using I20080914-2000 and a clean / build did not remove the problems.
I am investigating a fix for this one.
(In reply to comment #1) > Jerome, does a clean/full build of the project make the error go away? > I confirm that clean/full build didn't make the error go away.
Should address for M2.
yes, this is something we should fix for M2. I am preparing a patch for it. The problem comes from the checking of the superclass of an API type. Even if the superclass is an internal type, we still check it as any visible methods/fields/member types would also be API. We should however filter out constructor changes and they are not directly called from the API type. In this case the CompletionProposal in the new version of the class has no longer an internal type as the superclass. We should not check the superclass if it has been changed.
*** Bug 247655 has been marked as a duplicate of this bug. ***
Added regression tests in: org.eclipse.pde.api.tools.comparator.tests.MethodDeltaTests#test112 org.eclipse.pde.api.tools.comparator.tests.MethodDeltaTests#test113 org.eclipse.pde.api.tools.comparator.tests.MethodDeltaTests#test114 org.eclipse.pde.api.tools.comparator.tests.MethodDeltaTests#test115 Released for 3.5M2. Darin, please verify.
Verified. Added builder regression tests: ClassCompatibilityInternalTests.testRemoveInternalConstructor*()