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 ASM generating invalid references for static methods in interface #2127

Merged
merged 1 commit into from
Nov 21, 2024

Conversation

MarcMil
Copy link
Contributor

@MarcMil MarcMil commented Nov 21, 2024

Static calls to interface methods should use InterfaceMethodRefs instead of MethodRefs. Otherwise, newer JVM versions will throw an IncompatibleClassChangeError.

See openjdk/jdk@c36295e#diff-2e49825df1451e2d44694826a70e86bf1a511371482e4de50f7ef09c300bd9bbR780 and https://bugs.openjdk.org/browse/JDK-8145148?focusedCommentId=13958798&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-13958798 for more details.

@StevenArzt StevenArzt merged commit 8eaa58e into soot-oss:develop Nov 21, 2024
5 checks passed
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.

2 participants