Skip to content

Conversation

graalvmbot
Copy link
Collaborator

This enables users to be more precise in the few cases where handling missing registrations is desirable. This change required two substitution changes:

  • Resource bundle lookups now can not trigger missing registration errors anymore. Checking whether the queried bundle is registered is done before the lookup logic, which is executed in a "safe mode" where ClassNotFoundException is thrown as expected on a regular Java VM.
  • The method handle lookup logic had to be slightly modified to allow MissingReflectionRegistrationError to be propagated to the caller.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jun 1, 2025
@graalvmbot graalvmbot closed this Jun 3, 2025
@graalvmbot graalvmbot deleted the lottet/GR-64619-mre-lingage-error branch June 3, 2025 13:08
@graalvmbot graalvmbot merged commit 448bb0e into master Jun 3, 2025
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