You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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 asUnnecessary @SuppressWarnings("deprecation")
andUnsupported @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
The text was updated successfully, but these errors were encountered: