Bug 167262 - [1.5][compiler] @Override specification
Summary: [1.5][compiler] @Override specification
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.4 M6   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-08 12:53 EST by Olivier Thomann CLA
Modified: 2008-03-25 12:23 EDT (History)
2 users (show)

See Also:


Attachments
Patch for 3.3.x (5.91 KB, patch)
2008-02-29 16:56 EST, Philipe Mulet CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Thomann CLA 2006-12-08 12:53:13 EST
We need to ensure that the compiler is behaving according to the new specification of @Override.
See http://blogs.sun.com/ahe/entry/override#comments
and http://blogs.sun.com/ahe/entry/override_snafu
Comment 1 Philipe Mulet CLA 2007-03-27 13:04:24 EDT
Tim, pls have a look at it
Comment 2 Olivier Lefevre CLA 2008-01-25 07:44:46 EST
True. I must have gotten confused between the target, compliance and source flags.
Comment 3 Olivier Lefevre CLA 2008-01-25 11:33:48 EST
Sorry, wrong bug: I was looking at several ones concurrently and posted in the wrong window.
Comment 4 Philipe Mulet CLA 2008-02-29 10:12:56 EST
Following should be accepted from 1.5 compliance on:
interface Foo {
	@Override
	String toString();
}
    
Comment 5 Philipe Mulet CLA 2008-02-29 14:21:49 EST
Added AnnotationTest#test252
Comment 6 Philipe Mulet CLA 2008-02-29 16:15:31 EST
Released for 3.4M6.
Fixed
Comment 7 Philipe Mulet CLA 2008-02-29 16:56:15 EST
Created attachment 91256 [details]
Patch for 3.3.x
Comment 8 Philipe Mulet CLA 2008-02-29 18:55:07 EST
Released in 33x branch
Comment 9 Frederic Fusier CLA 2008-03-25 12:23:28 EDT
Verified for 3.4M6 using I20080324-1300.