eclipse-jdt/eclipse.jdt.core

"deprecation" + "removal" warnings are not suppressable simultaneously

Open

#469 创建于 2022年10月12日

在 GitHub 查看
 (5 评论) (0 反应) (1 负责人)Java (183 fork)auto 404
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");
	}
}

贡献者指南