Community
Participate
Working Groups
If I create a class with a deprecated method, and then attempt to use that method from within the class, no warning shows up indicating that the method is dprecated. Warnings do show up for other classes using the deprecated method.
Created attachment 8622 [details] File with deprecated method no warnings show up in eclipse when using this file with deprecation warnings turned on.
Created attachment 8623 [details] Class that is using the deprecated method from another class if deprecated warnings are on then a warning appears in this file about the deprecated method.
I'm using 3.0M7
Might be a more specific case of bug 48623
This is normal behavior. Deprecated method is not flagged as error in it's own class, only when calling from other classes. Try with Sun compiler javac and you'll get same behavior...