[jdk21u-dev] Integrated: 8345614: Improve AnnotationFormatError message for duplicate annotation interfaces

Chen Liang liach at openjdk.org
Thu Jan 23 11:43:54 UTC 2025


On Wed, 15 Jan 2025 15:34:50 GMT, Chen Liang <liach at openjdk.org> wrote:

> Please review this simple backport that includes the offending class file name in addition to the annotation interface name in the error message for annotations of duplicated interface found during parsing.
> 
> This pull request contains a backport of commit [7aa0cbc9](https://github.com/openjdk/jdk/commit/7aa0cbc91d90493a3dae973cb8077cfa283c32b4) from openjdk/jdk#22581, authored by @scottmarlow.

This pull request has now been integrated.

Changeset: 91e75827
Author:    Chen Liang <liach at openjdk.org>
Committer: Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.org/jdk21u-dev/commit/91e7582724f78ac924ed8003a2c80e6dc731517f
Stats:     1 line in 1 file changed: 0 ins; 0 del; 1 mod

8345614: Improve AnnotationFormatError message for duplicate annotation interfaces

Backport-of: 7aa0cbc91d90493a3dae973cb8077cfa283c32b4

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

PR: https://git.openjdk.org/jdk21u-dev/pull/1329


More information about the jdk-updates-dev mailing list