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

Native invocation issue with ART #113

Closed
tito opened this issue May 15, 2014 · 3 comments
Closed

Native invocation issue with ART #113

tito opened this issue May 15, 2014 · 3 comments

Comments

@tito
Copy link
Member

tito commented May 15, 2014

05-15 21:43:31.645 I/python (9635): jnius.jnius.JavaException: Invalid instance of 'org/jnius/NativeInvocationHandler' passed for a 'java/lang/reflect/InvocationHandler'

From 2048 game

@knappador
Copy link

Please please please tell this to Google =) We don't have the source to ART etc.

@tito
Copy link
Member Author

tito commented May 15, 2014

Well, it shouldn't be an issue in ART i think, more in our case.
Right now, i've found a test for ART with proxy at https://android.googlesource.com/platform/art/+/ecbce8f/test/044-proxy/src/BasicTest.java

They have an implementation of InvocationHandler as well, but the constructor is different. Need testing.

@tito
Copy link
Member Author

tito commented May 16, 2014

Duplicate of #92

@tito tito closed this as completed May 16, 2014
tito added a commit that referenced this issue Jul 31, 2014
…cationHandler/InvocationHandler with isAssignableFrom. Plus, include some defaults methods implementation of java.lang.Object (hashCode, toString, equals), which is used by ART. Closes #92. Closes #113.
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

2 participants