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). ------------- Commit messages: - 8382841: Remove AnnotationSupport.memberValues backdoor Changes: https://git.openjdk.org/jdk/pull/31851/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=31851&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8382841 Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod Patch: https://git.openjdk.org/jdk/pull/31851.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/31851/head:pull/31851 PR: https://git.openjdk.org/jdk/pull/31851
