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 6 times, most recently from 9df5a56 to f95421a Compare May 12, 2025 09:54
@graalvmbot graalvmbot force-pushed the mm/GR-62940-new-API-for-metadata-registration branch 4 times, most recently from 3ac17f1 to 47df6a9 Compare May 19, 2025 10:23
mihailo added 2 commits May 20, 2025 15:58
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 from 47df6a9 to 7be6081 Compare May 20, 2025 22:01
@graalvmbot graalvmbot force-pushed the mm/GR-62940-new-API-for-metadata-registration branch from 7be6081 to c149086 Compare May 21, 2025 13:53
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