eclipse-jdt/eclipse.jdt.core
在 GitHub 查看"deprecation" + "removal" warnings are not suppressable simultaneously
Open
#469 创建于 2022年10月12日
bughelp wanted
仓库指标
- Star
- (233 star)
- PR 合并指标
- (PR 指标待抓取)
描述
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");
}
}