RFR: 8345614: Include container in "java.lang.annotation.AnnotationFormatError: Duplicate annotation for class" error

Scott Marlow duke at openjdk.org
Thu Dec 5 19:20:14 UTC 2024


I am getting the `Duplication annotation for class` error as mentioned in https://hibernate.atlassian.net/browse/HHH-18901.  The current error message does not include the application class name (e.g. container) that the specified annotation is unexpectedly duplicated.  This pull request is for including the class name that has the (duplicate) annotation.

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

Commit messages:
 - 8345614: core-libs: Include container in "java.lang.annotation.AnnotationFormatError: Duplicate annotation for class" error

Changes: https://git.openjdk.org/jdk/pull/22581/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=22581&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/jdk/pull/22581.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/22581/head:pull/22581

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


More information about the core-libs-dev mailing list