Community
Participate
Working Groups
3.3M2 On following code, the deprecation warning for qualified type name has its source range include the trailing [], and the message incorrectly references the array type as well. 2. WARNING in Y.java (at line 10) p.X[] xs = { null }; ^^^^^ The type X[] is deprecated p/X.java [ package p; /** * @deprecated */ public class X { } ] Y.java [ import p.X; public class Y { void bar() { p.X[] xs = { null }; } } ]
Added DeprecatedTest#test014
Released for 3.3M3
Philippe, Candidate for 3.2.2? This is similar to bug 159250 already tagged as 3.2.2.
Closing as duplicate of bug 159250. Same test case, but different error message. *** This bug has been marked as a duplicate of 149250 ***
Wrong bug.
*** This bug has been marked as a duplicate of 159250 ***
Verified for 3.2.2 using build M20070112-1200.