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).
Looks like a clean reversal. I have updated the JBS title and body to better describe the goal: to reverse the changes to sun.reflect.annotation from libgraal. ------------- Marked as reviewed by liach (Reviewer). PR Review: https://git.openjdk.org/jdk/pull/31851#pullrequestreview-4665539403 PR Comment: https://git.openjdk.org/jdk/pull/31851#issuecomment-4928100999
