RFR: JDK-8321827: Remove unnecessary suppress warnings annotations from the printing processor

Joe Darcy darcy at openjdk.org
Tue Dec 12 03:13:50 UTC 2023


With JEP 463, a utility method like "isUnnamed" is no longer included in javax.lang.model so there is no uses of methods associated with preview features. Therefore, the `@SuppressWarnings` annotations can (and should be) removed.

-------------

Commit messages:
 - JDK-8321827: Remove unnecessary suppress warnings annotations from the printing processo

Changes: https://git.openjdk.org/jdk/pull/17074/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=17074&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8321827
  Stats: 2 lines in 1 file changed: 0 ins; 2 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/17074.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/17074/head:pull/17074

PR: https://git.openjdk.org/jdk/pull/17074


More information about the compiler-dev mailing list