Community
Participate
Working Groups
I20070608-1718 Given: package test1; public class E01 { @Deprecated public static int x = 5, y= 10; } package test1; public class E02 { public void foo() { System.out.println(E01.x); System.out.println(E01.y); } } Is: Editor for E02 shows two warning on x and y, which is correct: Java Lang spec 3, 8.3: "More then one field may be declared in a single field declaration by using more then one declarator; the FieldModifiers and Type apply to all the declarations in the declaration." But problems view shows only one warning for x Should: Problem view should show both warnings See also bug 191908
*** This bug has been marked as a duplicate of bug 191908 ***