On Thu, 9 Jul 2026 16:12:26 GMT, April Ivy <[email protected]> wrote:

> As noted in https://bugs.openjdk.org/browse/JDK-8382841, JVMCI added 
> annotation access helpers for the libgraal annotation API.
> 
> The memberValues accessors were already removed by JDK-8382582, but 
> AnnotationParser.parseSelectAnnotations was still left public even though its 
> only remaining caller is AnnotationType in the same package.
> 
> This patch makes parseSelectAnnotations package-private again and restores 
> the original comment describing its package-internal use.
> 
> Testing:
> - `make CONF=windows-x86_64-server-release CONF_CHECK=ignore java.base`
> - `make CONF=windows-x86_64-server-release CONF_CHECK=ignore test 
> TEST="test/jdk/java/lang/annotation"`
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

This pull request has now been integrated.

Changeset: d3e5304c
Author:    April Ivy <[email protected]>
Committer: Chen Liang <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/d3e5304c0f70aa03a52f5449cb38645a184b23dc
Stats:     2 lines in 1 file changed: 0 ins; 0 del; 2 mod

8382841: Revert annotation parsing changes from libgraal

Reviewed-by: liach, darcy

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

PR: https://git.openjdk.org/jdk/pull/31851

Reply via email to