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

Special-case MethodHandles #37

Closed
ogolberg opened this issue Dec 8, 2023 · 0 comments · Fixed by #44
Closed

Special-case MethodHandles #37

ogolberg opened this issue Dec 8, 2023 · 0 comments · Fixed by #44

Comments

@ogolberg
Copy link
Member

ogolberg commented Dec 8, 2023

java.lang.invoke.MethodHandles and VarHandles has polymorphic methods which are treated specially by the compiler

when calling MethodHandles.invoke or MethodHandles.invokeExact or VarHandles.get, the signature in the bytecode will contain the actual types of the parameters, not Object ....

it's possible to exclude MethodHandles and VarHandles using ignores, but we may consider making it the default

@ogolberg ogolberg changed the title MethodHandles Special-case MethodHandles Dec 12, 2023
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 a pull request may close this issue.

1 participant