eclipse-jdt/eclipse.jdt.core
Auf GitHub ansehen"deprecation" + "removal" warnings are not suppressable simultaneously
Open
#469 geöffnet am 12. Okt. 2022
bughelp wanted
Repository-Metriken
- Stars
- (233 Stars)
- PR-Merge-Metriken
- (PR-Metriken ausstehend)
Beschreibung
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");
}
}