Community
Participate
Working Groups
The default abstract methods added in 1.3 mode (-source 1.3 and -target 1.1) should be tagged as synthetic. javac 1.6, 1.5 and 1.4.2 are doing the same. They also report the error against the interface method and not the one defined in the asbtract class. Tests case: public class X extends Y {} public abstract class Y implements I {} public interface I { void foo(); }
Proposed fix is attached in bug 225517.
Created attachment 94761 [details] Proposed fix
Released for 3.4M7. Updated regression test org.eclipse.jdt.core.tests.builder.AbstractMethodTests#test002 and added org.eclipse.jdt.core.tests.builder.AbstractMethodTests#test003
*** Bug 225517 has been marked as a duplicate of this bug. ***
Verified for 3.4M7 using I20080429-0100