Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 357968

Summary: @SupressWarnings should ignore case for value tokens
Product: [Eclipse Project] JDT Reporter: Victor Lewis <victor>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: Olivier_Thomann
Version: 3.6.1   
Target Milestone: ---   
Hardware: All   
OS: Windows 7   
Whiteboard:

Description Victor Lewis CLA 2011-09-16 13:39:04 EDT
Build Identifier: 3.6.1.r361_v20100714-0800-7z8XFUSFLFlmgLc5z-Bvrt8-HVkH

@SuppressWarnings({"all"}), @SuppressWarnings({"ALL"}), and @SuppressWarnings({"All"}) should behave the same.  Currently Eclipse only recognizes @SuppressWarnings({"all"}).

This would increase source compatibility with other systems that use other cases for their tokens.

Reproducible: Always

Steps to Reproduce:
1. Create class with warnings
2. Put @SuppressWarnings({"ALL"}) on the class
3. Notices that none of the warnings are suppressed.
Comment 1 Olivier Thomann CLA 2011-09-16 15:53:23 EDT
This works as designed. This is more an enhancement request.