RFR: 8345614: Improve AnnotationFormatError message for duplicate annotation interfaces

Chen Liang liach at openjdk.org
Wed Jan 15 15:43:47 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.

Unfortunate! I have created openjdk/jdk21u-dev#1329 for backport.

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

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


More information about the core-libs-dev mailing list