Skip to content

[GR-42112] Missing registration errors for reflection calls #6139

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Mar 13, 2023

Conversation

graalvmbot
Copy link
Collaborator

No description provided.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Mar 7, 2023
@loicottet
Copy link
Member

Introduces MissingReflectionRegistrationError when it is impossible to tell whether a reflective query should fail because the queried element has not been registered at build-time, or because it doesn't exist. The PR also adds support for Class.getNestMembers and Class.getSigners.
The changes are hidden behind the -H:+ThrowMissingRegistrationErrors flag for now, with the objective of enabling this flag by default in the future and eventually getting rid of it.

# for free to join this conversation on GitHub. Already have an account? # 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