[jdk11u-dev] RFR: 8193214: Incorrect annotations.without.processors warnings with JDK 9

Aleksey Shipilev shade at openjdk.java.net
Thu Jun 24 13:40:52 UTC 2021


JDK 9 regression, fixed in JDK 12, but not in JDK 11. Prevents compiling JDK 11 code with -Xlint:processing when annotation processors are enabled. Patch applies cleanly. The only affected code path seems to be Xlint itself, and nothing else. New test fails without the patch, passes with it.

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

Commit messages:
 - Backport 19c364592cf273bcc0ee42d71137987acde1edbd

Changes: https://git.openjdk.java.net/jdk11u-dev/pull/61/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk11u-dev&pr=61&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8193214
  Stats: 93 lines in 3 files changed: 84 ins; 0 del; 9 mod
  Patch: https://git.openjdk.java.net/jdk11u-dev/pull/61.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk11u-dev pull/61/head:pull/61

PR: https://git.openjdk.java.net/jdk11u-dev/pull/61


More information about the jdk-updates-dev mailing list