Skip to content

Adopt SimpleEntityCallbackInvoker to Java 18's IllegalArgumentException as marker for incompatible lambda payload #2583

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

Closed
mp911de opened this issue Mar 23, 2022 · 0 comments
Labels
in: core Issues in core support type: enhancement A general enhancement

Comments

@mp911de
Copy link
Member

mp911de commented Mar 23, 2022

Java 18's reflection reimplementation using method handles now throws IllegalArgumentException: argument type mismatch when calling a method reflectively using arguments that do not match the method signature.

@mp911de mp911de added in: core Issues in core support type: enhancement A general enhancement labels Mar 23, 2022
@mp911de mp911de added this to the 2.5.11 (2021.0.11) milestone Mar 23, 2022
mp911de added a commit that referenced this issue Mar 23, 2022
We now consider IllegalArgumentException as marker for incompatible lambda payload that was introduced with Java 18's reflection rewrite that uses method handles internally.

Closes #2583
mp911de added a commit that referenced this issue Mar 23, 2022
We now consider IllegalArgumentException as marker for incompatible lambda payload that was introduced with Java 18's reflection rewrite that uses method handles internally.

Closes #2583
mp911de added a commit that referenced this issue Mar 23, 2022
We now consider IllegalArgumentException as marker for incompatible lambda payload that was introduced with Java 18's reflection rewrite that uses method handles internally.

Closes #2583
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core support type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant