RFR: 8345614: Improve AnnotationFormatError message for duplicate annotation interfaces
Chen Liang
liach at openjdk.org
Tue Jan 14 23:58:23 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.
I think you might have to cherry-pick the commit (or just prepare an identical patch), and name your PR `Backport 7aa0cbc91d90493a3dae973cb8077cfa283c32b4` for jdk21u-dev.
I think I can spawn a backport branch for you; you can create a PR out of that skara bot branch.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/22581#issuecomment-2591326099
PR Comment: https://git.openjdk.org/jdk/pull/22581#issuecomment-2591331766
More information about the core-libs-dev
mailing list