RFR: 8345614: Improve AnnotationFormatError message for duplicate annotation interfaces

Chen Liang liach at openjdk.org
Mon Dec 9 15:02:44 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.

Nice. I will sponsor.

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

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


More information about the core-libs-dev mailing list