Skip to content

[GR-66227] Register Object methods for reflective queries #11544

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 1 commit into
base: master
Choose a base branch
from

Conversation

graalvmbot
Copy link
Collaborator

Reflective queries on Object, primitive and array types are registered by default for reflection to avoid having to clog the reachability metadata with entries. This was implemented by simply setting the flags allowing such queries when encountering such a class, but the Object methods being queried were never actually registered. This PR fixes the issue by unconditionally registering those methods.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jul 3, 2025
@graalvmbot graalvmbot force-pushed the lottet/GR-66227-object-queries branch 2 times, most recently from 3bde306 to d02b3b6 Compare July 7, 2025 15:10
@graalvmbot graalvmbot force-pushed the lottet/GR-66227-object-queries branch from d02b3b6 to fdd6b2d Compare July 8, 2025 08:10
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.

2 participants