-
Bug
-
Resolution: Fixed
-
P3
-
5.0
-
b96
-
generic
-
generic
http://java.sun.com/j2se/1.5.0/docs/guide/javadoc/deprecation/deprecation.html
Under the heading "How To Deprecate", second paragraph, it says:
(quote)The compiler suppresses deprecation warnings if a deprecated compilation unit uses a deprecated class, method, or field. (endquote)
According to JLS3 9.6.1.6, the granularity is "same outermost class". A warning will not be generated if a class calls or overrides a deprecated item in the same outermost class.
###@###.### 2005-2-04 01:02:51 GMT
Under the heading "How To Deprecate", second paragraph, it says:
(quote)The compiler suppresses deprecation warnings if a deprecated compilation unit uses a deprecated class, method, or field. (endquote)
According to JLS3 9.6.1.6, the granularity is "same outermost class". A warning will not be generated if a class calls or overrides a deprecated item in the same outermost class.
###@###.### 2005-2-04 01:02:51 GMT