[jdk24u] Integrated: 8345614: Improve AnnotationFormatError message for duplicate annotation interfaces

Chen Liang liach at openjdk.org
Wed Jan 22 16:52:50 UTC 2025


On Thu, 16 Jan 2025 04:03:39 GMT, Chen Liang <liach at openjdk.org> wrote:

> 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!

This pull request has now been integrated.

Changeset: 41ea8e0f
Author:    Chen Liang <liach at openjdk.org>
Committer: Paul Hohensee <phh at openjdk.org>
URL:       https://git.openjdk.org/jdk24u/commit/41ea8e0fdf41ced10d66164bf1ee62d5b4b0d13f
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/jdk24u/pull/20


More information about the jdk-updates-dev mailing list