Skip to content

Conversation

@SirYwell
Copy link
Collaborator

Before switching to Java 17, we already supported some features that require Java 16/17 methods for the reflection model. Since then, we can drop this workaround and just call the method directly.

JavaReflectionVisitor, MethodHandleUtils, and JavaReflectionVisitorImpl are package-private, so compatibility isn't an issue here. The only problem would be the changed method signature in JavaReflectionTreeBuilder, but I think this is acceptable.

@MartinWitt
Copy link
Collaborator

looks good when CI is green.

@MartinWitt MartinWitt merged commit 02a6c3f into master Jan 1, 2026
16 checks passed
@MartinWitt
Copy link
Collaborator

thanks @SirYwell

@SirYwell SirYwell deleted the refactor/pre-17-reflection branch January 1, 2026 17:05
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.

3 participants