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

callStaticJniMethod 过程碰到两个 java.lang.UnsupportedOperationException 的错, 看了源码应该是没有实现 #92

Open
vincentob opened this issue Feb 26, 2020 · 3 comments

Comments

@vincentob
Copy link

[13:39:47 581]  WARN [com.github.unidbg.linux.ARMSyscallHandler] (ARMSyscallHandler:409) - handleInterrupt intno=2, NR=67, svcNumber=0x0, PC=RX@0x4000b818[libcms.so]0xb818, syscall=null
java.lang.UnsupportedOperationException: signum=32
...

[13:39:47 603]  WARN [com.github.unidbg.linux.ARMSyscallHandler] (ARMSyscallHandler:409) - handleInterrupt intno=2, NR=172, svcNumber=0x0, PC=RX@0x4000b818[libcms.so]0xb818, syscall=null
java.lang.UnsupportedOperationException: option=3

请问这两个, 能帮忙实现一下吗

@zhkl0228
Copy link
Owner

改改成不抛异常试下

@vincentob
Copy link
Author

vincentob commented Feb 26, 2020

改改成不抛异常试下

那两个地方我直接 return 0 , 但是还有一个错, 这个需要自己加吗
java.lang.AbstractMethodError: java/lang/Thread->currentThread()Ljava/lang/Thread;
at com.github.unidbg.linux.android.dvm.AbstractJni.callStaticObjectMethodV(AbstractJni.java:299)

@losemy
Copy link

losemy commented Jun 15, 2020

这个错误需要怎么修改?

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

No branches or pull requests

3 participants