Bug 191909 - Missing deprecation warning in problems view
Summary: Missing deprecation warning in problems view
Status: RESOLVED DUPLICATE of bug 191908
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-11 05:22 EDT by Benno Baumgartner CLA
Modified: 2007-06-14 15:23 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Benno Baumgartner CLA 2007-06-11 05:22:39 EDT
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
Comment 1 Olivier Thomann CLA 2007-06-14 15:23:26 EDT

*** This bug has been marked as a duplicate of bug 191908 ***