Skip to content

Conversation

@graalvmbot
Copy link
Collaborator

This PR changes the behavior of the parsing of reflection-config.json under --future-defaults. This change will eventually allow us to always consider "name" entries in reflection-config.json the same way as "type" entries in reachability-metadata.json, which will enable us to get rid of a large quantity of code related to the parsing and registration of reflection metadata for classes, such as the concept of "queried only" methods and fields, as well as the conditional inclusion of record components, permitted subclasses or nest members.

Community impact
Running the reachability metadata repository tests with "name" being interpreted as "type" caused only one issue: an analysis failure regarding a type not found during analysis, which is probably a bug on our side and not something that would require a modification of reachability metadata. This is a good sign that such a change is unlikely to cause major problems when it is being made a default.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jun 4, 2025
@graalvmbot graalvmbot merged commit be2d8fe into master Jun 5, 2025
13 checks passed
@graalvmbot graalvmbot deleted the lottet/GR-63596-name-as-type branch June 5, 2025 00:28
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.

3 participants