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

Ensure that record constructors are always accessible #948

Merged
merged 1 commit into from
Apr 3, 2023

Conversation

theigl
Copy link
Collaborator

@theigl theigl commented Apr 3, 2023

I encountered a scenario in production where a record constructor is returned by recordType.getConstructor(), but is unusable. Trying to invoke it throws an IllegalAccessException.

Unfortunately, I was unable to reproduce this in a test. It might have something to do with access across module boundaries.

@theigl theigl added the bug label Apr 3, 2023
@theigl theigl self-assigned this Apr 3, 2023
@theigl theigl merged commit e7c37a9 into master Apr 3, 2023
@theigl theigl deleted the record-constructor-accessible branch April 3, 2023 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

1 participant