Bug 57858 - [Compiler] Marking a field deprecated still report deprecated usage #46973
Summary: [Compiler] Marking a field deprecated still report deprecated usage #46973
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 3.0 M9   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-07 23:57 EDT by okano CLA
Modified: 2004-05-18 13:55 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description okano CLA 2004-04-07 23:57:20 EDT
/* In this case (define class in method), reported yet. */
class A {
 public static void main(String[] args) {
  /** @deprecated (Great! Javadoc comments can be written here) */
  class C {
   class D extends B {} // 2 warnigs in this line
  }
 }
}
Comment 1 Philipe Mulet CLA 2004-04-08 05:33:13 EDT
Reproduced
Comment 2 Philipe Mulet CLA 2004-04-08 06:43:52 EDT
Added regression test: NegativeTest#test415.
Released to 3.0 stream, backported to 2.1.x stream.
Comment 3 Olivier Thomann CLA 2004-05-18 13:55:19 EDT
Verified in 200405180816