Skip to content

[GR-72054] [GR-71348] Improve reflection registration in extension layers#12842

Merged
graalvmbot merged 4 commits into
masterfrom
scoppey/GR-72054/layered-reflection-fix
Jan 21, 2026
Merged

[GR-72054] [GR-71348] Improve reflection registration in extension layers#12842
graalvmbot merged 4 commits into
masterfrom
scoppey/GR-72054/layered-reflection-fix

Conversation

@graalvmbot
Copy link
Copy Markdown
Collaborator

Layered reflection registration in the application layer contains the following bugs:

  • Fields without offset should be marked as incomplete so they can be registered in extension layers
  • Methods without an accessor should be marked as incomplete so they can be registered in extension layers
  • Values returned by getDeclaredMethod/Constructors/Fields should be deduplicated to ensure values from the application layer are not ignored.
  • The layer id used for accessing the records components was wrong.

This PR also adds a missing @Uninterruptible annotation on Target_jdk_jfr_internal_JVM_Util.jfrNotSupportedException.

@oracle-contributor-agreement oracle-contributor-agreement Bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jan 21, 2026
@graalvmbot graalvmbot closed this Jan 21, 2026
@graalvmbot graalvmbot deleted the scoppey/GR-72054/layered-reflection-fix branch January 21, 2026 17:01
@graalvmbot graalvmbot merged commit 3cf79b9 into master Jan 21, 2026
13 checks passed
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.

2 participants