Summary: | [compiler] Used suppressWarnings are being reported as unused | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Satyam Kandula <satyam.kandula> | ||||
Component: | Core | Assignee: | Satyam Kandula <satyam.kandula> | ||||
Status: | VERIFIED DUPLICATE | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | CC: | stephan.herrmann | ||||
Version: | 3.8 | ||||||
Target Milestone: | 3.8 M5 | ||||||
Hardware: | PC | ||||||
OS: | Windows 7 | ||||||
Whiteboard: | |||||||
Attachments: |
|
oops .. Submitted this early :(. Fix for bug 346175 fixes this problem. This problem gets fixed with the fix for 346175. Hence marking as duplicate. *** This bug has been marked as a duplicate of bug 346175 *** Verified for 3.8 M5 using build I20120123-1300 |
Created attachment 208927 [details] Test case If they are more than 100 'errors' that are getting suppressed using @SuppressWarnings, the latter @SuppressWarnings are getting flagged as unused. Steps to reproduce: - Use the attached java source - Make the following error/warning settings 1. 'Value of parameter is not used' to Error 2. Check 'Enable @SuppressWarnings' annotations 3. 'Unused @SuppressWarnings' token' to Warning 4. Check 'Suppress optionall errors with `@SuppressWarnings' 5. Check 'Treat above errors like fatal compiler errors'