Community
Participate
Working Groups
Some of us like to keep our warnings set tight, and keep our warnings count at zero. For us, it's frustrating to have a warning that you have to live with. I feel it trains people to ignore warnings. When MyClass implements a deprecated method in an interface, this should not generate a warning. *Calling* a deprecated method should generate a warning. But MyClass *has* to implement it. Somewhat more debatable: Implementing or overriding a deprecated method, imho, should also not generate warnings. Again, it is the calling of the method which is deprecated, because the API implementors are claiming there is another way to get the same functionality.
Please make sure that the method that implements the deprecated interface method is tagged with "@deprecated" as well. The warning will then disappear.
Our behavior is identical to javac. Not critical, might reconsider post 2.0
Since javac is not and does not have an integrated editor, I fail to see how eclipse's behavior (in this area) is identical to javac's. As I mentioned, the compiler (like javac's) is happy with this arrangement, but the editor continues to suggest a course of action, which if followed, is impotent. I agree that it should be pushed past 2.0, BUT the aberrant behavior should be documented in the readme.
Please ignore previous comment. It was missent to the wrong bug report.
(Paying careful attention this time to *which* bug I'm making comments on...) Here is an alternative that would be just as useful to me: In the Windows/Preferences/Java/Compiler/Errors and Warnings tab, split "Usage of deprecated API" into two separate issues, "Accessing deprecated members/classes" and "Overriding/implementing deprecated methods".
Reopen
*** This bug has been marked as a duplicate of 48335 ***