Community
Participate
Working Groups
I20050315 X.java /** * @deprecated */ public class X { } Y.java /** * @deprecated */ public class Y { void foo() { X x; // unexpected deprecated warning here } } In I20050308, there was no warning for the usage of X.
Cannot reproduce in latest. Added DeprecatedTest#test007-008 to cover both full source, and source&binary cases.
Sorry my test case was wrong. It should be: /** * @deprecated */ public class Y { X foo() { // unexpected deprecation warning here return null; } }
Reproduced. Problem was due to field/method signature resolution occurring right before deprecation bit propagation (consequence of accomodating @Deprecated annotation). Added DeprecatedTest#test007-009. Fixed
Verified in I20050330-0500