eclipse-jdt / eclipse-jdt/eclipse.jdt.core

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

Open
#469 5 comments 0 reactions 1 assignee Claimed by @subyssurendran666 View on GitHub
bug help wanted
Dominant language
Java
Stars
237
Forks
195
Avg merge
1d 12h
Merged PRs (30d)
47

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.

```java
//@SuppressWarnings("deprecation")
//@SuppressWarnings("removal")
@SuppressWarnings({ "deprecation", "removal" })
public final class Foo
{
public void test()
{
throw new AccessControlException("foo");
}
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.