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 3 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.

@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 5 times, most recently from c56713c to b759354 Compare April 29, 2025 12:14
@graalvmbot graalvmbot force-pushed the mm/GR-62940-new-API-for-metadata-registration branch 2 times, most recently from fd9289a to 2587016 Compare May 6, 2025 13:21
mihailo added 2 commits May 7, 2025 15:45
ConfigurationCondition is divided into RegistrationCondition(API) and TypeReachabilityCondition(implementation).

Replaced all usages of ConfigurationCondition.
@graalvmbot graalvmbot force-pushed the mm/GR-62940-new-API-for-metadata-registration branch 3 times, most recently from 998bba3 to 9df5a56 Compare May 9, 2025 16:03
@graalvmbot graalvmbot force-pushed the mm/GR-62940-new-API-for-metadata-registration branch from 9df5a56 to f95421a Compare May 12, 2025 09:54
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