Skip to content

[WIP][GR-62940] Introduce new API for metadata registration #11075

New issue

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

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

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

graalvmbot
Copy link
Collaborator

Current API for metadata registration is too complicated and does not support conditional registrations.
Introduction of new simplified API for metadata registration based on conditions, that has similar semantics as reachability-metadata.json.
Instance of class for metadata registration must be created with factory method via Feature#AfterRegistrationAccess. Any attempt to register metadata after Feature#afterRegistration throws an error.

mihailo added 5 commits April 22, 2025 14:48
…base where it does not affect semantics. Conditions can't be registered during analysis anymore, except alwaysTrue conditions. Removed methods from MetadataCondition API to implementation.
…. User must create DynamicAccess object via factory method inside AfterRegistrationAccess.
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Apr 23, 2025
@graalvmbot graalvmbot force-pushed the mm/GR-62940-new-API-for-metadata-registration branch 2 times, most recently from caafa0a to 21d1b60 Compare April 23, 2025 22:02
@graalvmbot graalvmbot changed the title [GR-62940] Introduce new API for metadata registration [WIP][GR-62940] Introduce new API for metadata registration Apr 24, 2025
@graalvmbot graalvmbot force-pushed the mm/GR-62940-new-API-for-metadata-registration branch from 21d1b60 to 5e516c2 Compare April 24, 2025 16:09
…tion and reflection registration. alwaysTrue now alwaysInclude.
@graalvmbot graalvmbot force-pushed the mm/GR-62940-new-API-for-metadata-registration branch from 5e516c2 to 148e12e Compare April 25, 2025 12:02
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.

1 participant