-
Notifications
You must be signed in to change notification settings - Fork 59
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
Come and have a look #28
Comments
this code caused a very strange problem,and I spent some hours to solve that,I wonder no one else is using j2ir? |
Hello, if you change
to
does it work for you? |
Type long in jvm bytecode is "J",not "L". |
Ah yes, of course. Was in a bit of a hurry when I wrote that. Did everything work fine with a |
And by the way,J2IRConverter is outdated,it doesnot support some high level jvm feature like invoke-dynamic,wich has already been implemented in Dex2IR.
I dont know if those code would be a help for anyone,but still,good luck. |
yeah,it was obviously an erro when "J" misstaken with "D",when I replaced "D" with "J",it worked. |
Thanks for your code fragments! I have added a slightly modified version of them to the current codebase. |
At file dex-translator/src/main/java/com/googlecode/d2j/converter/J2IRConverter.java
line 562:
case T_DOUBLE:
return b(1, Exprs.nNewArray("D", local));
case T_LONG:
return b(1, Exprs.nNewArray("D", local));
The text was updated successfully, but these errors were encountered: