Skip to content

Conversation

graalvmbot
Copy link
Collaborator

@graalvmbot graalvmbot commented Sep 24, 2025

This PR moves the bulk of the mechanism for annotation handling in Graal and Native Image from JVMCI into Graal. All that remains in JVMCI (after graalvm/labs-openjdk#6) is low level methods for retrieving the unaltered class file bytes for annotations.

  • Moved jdk.vm.ci.meta.AnnotationData to jdk.graal.compiler.annotation.AnnotationValue and added other classes in the same package to implement the complete annotation handling requirements of Native Image.
  • Adapted Espresso to implement the low-level methods for reading the raw annotation bytes.
  • Adapted to the addition of the ResolvedJavaRecordComponent class (JVMCI analog of java.lang.reflect.RecordComponent).

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Sep 24, 2025
@graalvmbot graalvmbot force-pushed the ds/GR-69454 branch 7 times, most recently from e2e61f3 to 9785828 Compare September 29, 2025 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants