Community
Participate
Working Groups
Build 20031215 On the following code, compiled against deprecated type A, no deprecation check is issued (when deprecation inside deprecated code is disabled): public class X { int x; { x = y; } { new A(null); } /** * @deprecated */ int y; }
This is due to the fact that the trailing field declaration is tagged as being deprecated, and the initializer incorrectly thinks it is inside this field declaration (as it shares the fieldDeclarationIndex field value).
Fixed.
Verified in I200312161200
Backported to 2.1 stream. Verified for 2.1.3 with build I200402251535.
Build was M200402251535 and not I200402251535....