-   Notifications  You must be signed in to change notification settings 
- Fork 122
Closed
Description
Eclipse's JDT and javac don't agree on the tokens that are supported by @SuppressWarnings and when some suppressions are necessary. This leads to warnings in Eclipse such as Unnecessary @SuppressWarnings("deprecation") and Unsupported @SuppressWarnings("varargs"). If the suppression is removed, javac reports compilation warnings that cause the build to fail when compiling with -Werror.
Rather than hiding the problems that Eclipse reports completely, we could lower their level from warning to info. The Eclipse settings for this are:
- org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=info
- org.eclipse.jdt.core.compiler.problem.unusedWarningToken=info