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

Support invoke-polymorphic (and -range) as builder instruction #767

Open
GraxCode opened this issue May 3, 2020 · 1 comment
Open

Support invoke-polymorphic (and -range) as builder instruction #767

GraxCode opened this issue May 3, 2020 · 1 comment
Labels
next-release Label for an issue I intend to fix in the next release.

Comments

@GraxCode
Copy link

GraxCode commented May 3, 2020

Should not be that hard to implement, see Signature Polymorphic Methods.

org.jf.util.ExceptionWithContext: Instruction format Format45cc not supported
	at org.jf.dexlib2.builder.MutableMethodImplementation.convertAndSetInstruction(MutableMethodImplementation.java:675)
	at org.jf.dexlib2.builder.MutableMethodImplementation.<init>(MutableMethodImplementation.java:94)

invoke-polymorphic can be generated by converting this code with dx to dex:

public void invoke(MethodHandle handle) throws Throwable {
    handle.invoke(0, 1);
    handle.invokeExact("args", "here");
}
@vn-ki
Copy link

vn-ki commented Nov 9, 2022

Hi @JesusFreke, when is the next release planned? Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
next-release Label for an issue I intend to fix in the next release.
Projects
None yet
Development

No branches or pull requests

3 participants