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


On Thu, 5 Dec 2024 16:24:29 GMT, Scott Marlow <duke at openjdk.org> wrote:

> 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.

> @scottmarlow Please do not rebase or force-push to an active PR as it invalidates existing review comments. Note for future reference, the bots always squash all changes into a single commit automatically as part of the integration. See [OpenJDK Developers’ Guide](https://openjdk.org/guide/#working-with-pull-requests) for more information.

Good point, sorry reviewers!

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

PR Comment: https://git.openjdk.org/jdk/pull/22581#issuecomment-2521102605


More information about the core-libs-dev mailing list