Community
Participate
Working Groups
Build 20031203 The following code reports a warning even if option for reporting deprecation in deprecated code is disabled. /** @deprecated */ public class X { Object x = new DeprecatedType(){}; } where DeprecatedType is a deprecated type.
Other case not working properly: /** * @deprecated */ public class X { void bar() { class Local extends DeprecatedType { class LocalMember extends DeprecatedType { } } } }
Released fix in ClassScope#checkAndSetModifiers() which did not propagate deprecation flag correctly.
Verified for 3.0M6
Backported to 2.1 stream. Verified for 2.1.3 with build I200402251535.
Build is M200402251535 and not I200402251535....