Bug 90484

Summary: [1.5][compiler] Missing override annotation conflicts with Javac error checking
Product: [Eclipse Project] JDT Reporter: John Liu <john.liu>
Component: CoreAssignee: Philipe Mulet <philippe_mulet>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1   
Target Milestone: 3.1 M7   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description John Liu CLA 2005-04-06 12:45:20 EDT
When the warning on Eclipse 3.1M6 "Missing override annotation" is turned on it 
will flag such interfaces below as missing an "@Override" annotation.

public interface ObjectStreamer {
   ObjectStreamer clone();
}

Yet when the @Override tag is added it causes the following error to occur with 
javac and the code does not compile.

ObjectStreamer.java:2: method does not override a method from its superclass
   @Override
    ^
Comment 1 Philipe Mulet CLA 2005-04-18 11:16:13 EDT
Added AnnotationTest#test126.
Disabled check for interface methods.
Fixed
Comment 2 Philipe Mulet CLA 2005-04-21 09:11:50 EDT
Released
Comment 3 Olivier Thomann CLA 2005-05-11 11:42:16 EDT
Verified in I20050510-0010