Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

@Deprecated annotation

 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
@Deprecated annotation

Why is this code not generating a deprecation warning ? If I replace the annotation with the old @deprecated javadoc, the compiler warns about a deprecated class being used.



(JDK1.5.0_07)

[ October 29, 2008: Message edited by: Christophe Verre ]
[ October 30, 2008: Message edited by: Christophe Verre ]
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Never mind, I tried with jdk1.6.0_10 and the warning is shown. I guess it was a kind of bug in Tiger.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic