Summary: | marking a method deprecated doesn't eleminate deprecated warning | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Ilja Preuss <preuss> |
Component: | Core | Assignee: | Philipe Mulet <philippe_mulet> |
Status: | RESOLVED WONTFIX | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 2.0 | ||
Target Milestone: | 2.0.1 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Ilja Preuss
2002-07-18 06:11:56 EDT
The fact it is deprecated itself doesn't give it more permission to invoke deprecated members. javac issues the same warning: p\Bar.java:6: warning: foo in p.Foo has been deprecated System.out.println(Foo.foo); ^ 1 warning (javac only issues deprecation warnings for files compiled separately, so you need to compile the 2 files in 2 steps to see it). |