Skip to content
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

Do not fail on setAccessible #614

Merged
merged 4 commits into from
Jan 12, 2022
Merged

Do not fail on setAccessible #614

merged 4 commits into from
Jan 12, 2022

Conversation

oryan-block
Copy link
Collaborator

Checklist

  • Pull requests follows the contribution guide
  • New or modified functionality is covered by tests

Description

Reflective access to private fields in closed modules is not possible since Java 17.
When using objects from closed modules in the schema the field resolver scanner will try to access their fields but fail.
Instead of blowing up we log a warning and continue. If an appropriate resolver is provided this can then be safely ignored.

@oryan-block oryan-block merged commit 40035bd into master Jan 12, 2022
@oryan-block oryan-block deleted the illigal-access-fix branch January 12, 2022 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants