eclipse-jdt/eclipse.jdt.core
Vedi su GitHub"deprecation" + "removal" warnings are not suppressable simultaneously
Open
#469 aperta il 12 ott 2022
bughelp wanted
Metriche repository
- Star
- (233 star)
- Metriche merge PR
- (Metriche PR in attesa)
Descrizione
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");
}
}