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

Fix invokeinterface logic #57

Merged
merged 1 commit into from
Feb 25, 2024
Merged

Conversation

ogolberg
Copy link
Member

@ogolberg ogolberg commented Feb 25, 2024

It is, in fact, ok for invokeinterface to call a method declared on a class. It's rare because invokevirtual is faster, but older compilers will emit invokeinterface for methods declared on Object invoked via interface types.

It is, in fact, ok for invokeinterface to call a method declared on a class.
Older compilers will emit invokeinterface for methods declared on Object invoked via interface types.
@ogolberg ogolberg merged commit d12b60a into open-toast:main Feb 25, 2024
1 check passed
@ogolberg ogolberg deleted the invokeinterface branch February 25, 2024 14:03
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.

1 participant