Fix for MemberWrapper#invokeJNI #2

Merged
merged 1 commit into from Jun 11, 2012

Conversation

Projects
None yet
2 participants
Contributor

badlogic commented Jun 11, 2012

Problem: can't call Java from native side due to missing implementation of MemberWrapper#invokeJNI. This makes it difficult to implement some things, e.g. Java delegates to be called from native code or getting and setting members of a Java class instance.

Fix: implemented MemberWrapper#invokeJNI for the NOEMIT reflection backend. Basically copied the pure Java/IKVM way of invoking a constructor/method from the bottom of the original method. Not the most performant piece of code, but good enough.

samskivert added a commit that referenced this pull request Jun 11, 2012

Merge pull request #2 from badlogic/master
Fix for MemberWrapper#invokeJNI

@samskivert samskivert merged commit 4a1e136 into samskivert:master Jun 11, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment