Bug 207560

Summary: [1.5][compiler] @SuppressWarnings("all") should not suppress unhandled warning tokens
Product: [Eclipse Project] JDT Reporter: Philipe Mulet <philippe_mulet>
Component: CoreAssignee: Philipe Mulet <philippe_mulet>
Status: VERIFIED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: philippe_mulet
Version: 3.4   
Target Milestone: 3.4 M3   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Philipe Mulet CLA 2007-10-26 05:38:03 EDT
Build 3.4M2

The warning for unhandled warning tokens shouldn't be suppressable itself by another @SuppressWarnings annotation.

e.g.
@SuppressWarnings({"aaa", "all"})
public class X {
	void foo() {}
}

should still flag the unsupported "aaa" warning token
Comment 1 Philipe Mulet CLA 2007-10-26 09:08:47 EDT
Actually, @SuppressWarnings("all") is a feature for getting rid of all warnings. As such, it should apply to warnings related to @SuppressWarnings as well.

No change planned.
Comment 2 Philipe Mulet CLA 2007-10-29 06:11:22 EDT
should have been closed as invalid
Comment 3 Philipe Mulet CLA 2007-10-29 06:11:40 EDT
closed as invalid
Comment 4 Maxime Daniel CLA 2007-10-29 06:21:01 EDT
Verified for 3.4 M3 using build I20071029-0010.