Bug 207560 - [1.5][compiler] @SuppressWarnings("all") should not suppress unhandled warning tokens
Summary: [1.5][compiler] @SuppressWarnings("all") should not suppress unhandled warnin...
Status: VERIFIED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.4 M3   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-26 05:38 EDT by Philipe Mulet CLA
Modified: 2007-10-29 06:21 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.