[jdk21u-dev] RFR: 8345614: Improve AnnotationFormatError message for duplicate annotation interfaces

Chen Liang liach at openjdk.org
Wed Jan 15 15:40:56 UTC 2025


Please review this simple backport that includes the offending class file name in addition to the annotation interface name in the error message for annotations of duplicated interface found during parsing.

This pull request contains a backport of commit [7aa0cbc9](https://github.com/openjdk/jdk/commit/7aa0cbc91d90493a3dae973cb8077cfa283c32b4) from openjdk/jdk#22581, authored by @scottmarlow.

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

Commit messages:
 - Backport 7aa0cbc91d90493a3dae973cb8077cfa283c32b4

Changes: https://git.openjdk.org/jdk21u-dev/pull/1329/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=1329&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8345614
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk21u-dev/pull/1329.diff
  Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/1329/head:pull/1329

PR: https://git.openjdk.org/jdk21u-dev/pull/1329


More information about the jdk-updates-dev mailing list