[jdk24u] RFR: 8345614: Improve AnnotationFormatError message for duplicate annotation interfaces
Chen Liang
liach at openjdk.org
Thu Jan 16 04:08:23 UTC 2025
Please review this backport, that updates the error message when two annotations in a location has the same annotation interface to include the class file name where this happens in addition to the name of the interface.
This is backported to 24.0.1 or later instead of 24 because this is not eligible for RDP 1 or 2.
This pull request contains a backport of commit [7aa0cbc9](https://github.com/openjdk/jdk/commit/7aa0cbc91d90493a3dae973cb8077cfa283c32b4) from openjdk/jdk#22581.
The commit being backported was authored by Scott Marlow on 9 Dec 2024 and was reviewed by Chen Liang.
Thanks!
-------------
Commit messages:
- Backport 7aa0cbc91d90493a3dae973cb8077cfa283c32b4
Changes: https://git.openjdk.org/jdk24u/pull/20/files
Webrev: https://webrevs.openjdk.org/?repo=jdk24u&pr=20&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8345614
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk24u/pull/20.diff
Fetch: git fetch https://git.openjdk.org/jdk24u.git pull/20/head:pull/20
PR: https://git.openjdk.org/jdk24u/pull/20
More information about the jdk-updates-dev
mailing list