RFR: 8345614: Improve AnnotationFormatError message for duplicate annotation interfaces

Scott Marlow duke at openjdk.org
Wed Jan 15 14:24:45 UTC 2025


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.

> /backport jdk21u-dev
> 
> I think I can spawn a backport branch for you; you can create a PR out of that skara bot branch.

I opened https://github.com/openjdk/jdk21u-dev/compare/openjdk:master...openjdk-bots:backport-liach-7aa0cbc9-master?expand=1 but see message `Pull request creation failed. Validation failed: must be a collaborator`

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

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


More information about the core-libs-dev mailing list