Bug 165512

Summary: Suppress Xlint warnings per @SuppressWarnings
Product: [Tools] AspectJ Reporter: Hermann Voßeler <hermann.vosseler>
Component: CompilerAssignee: aspectj inbox <aspectj-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: aclement
Version: 1.0.6   
Target Milestone: 1.6.8   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Hermann Voßeler CLA 2006-11-22 14:37:53 EST
You can configure Xlint warnings via the JDT/Compiler preferences page,
even on a per project base. But seemingly you can't use the 
@SuppressWarnings-Annotation to switch off this warnings for individual
locations. You can only use some standard tokens for this annotation (e.g.
for unchecked generics). This renders some of this warnings almost useless.

So the request is: make the eclipse java compiler recognize the
Xlint warning IDs for @SuppressWarnings
Comment 1 Olivier Thomann CLA 2006-11-22 20:30:32 EST
Could you please enumerate the warnings that you would like to see covered?
We have a extensive set of options, but none of them correspond to a swallowedExceptionInCatchBlock option.
This seems to be an aspectj option. I don't see how we could add a SuppressWarning for an option that is not in our set of options.
Moving to Aspectj
Comment 2 Andrew Clement CLA 2007-10-26 03:45:14 EDT
something we can do here in 1.5.4?
Comment 3 Andrew Clement CLA 2010-01-26 15:23:25 EST
SuppressAjWarnings is supported