eclipse-jdt/eclipse.jdt.core
View on GitHub"deprecation" + "removal" warnings are not suppressable simultaneously
Open
#469 opened on Oct 12, 2022
bughelp wanted
Repository metrics
- Stars
- (233 stars)
- PR merge metrics
- (PR metrics pending)
Description
With Eclipse 2022-09 and Java 17 it seems not to be possible to suppress both removal and deprecation warnings on the class level.
//@SuppressWarnings("deprecation")
//@SuppressWarnings("removal")
@SuppressWarnings({ "deprecation", "removal" })
public final class Foo
{
public void test()
{
throw new AccessControlException("foo");
}
}