Bug 357968 - @SupressWarnings should ignore case for value tokens
Summary: @SupressWarnings should ignore case for value tokens
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.6.1   Edit
Hardware: All Windows 7
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-16 13:39 EDT by Victor Lewis CLA
Modified: 2011-09-16 15:53 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 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.