samskivert/ikvm-monotouch — pull request #2 by badlogic (2012-06-11 00:56:06+00:00)
Title: Fix for MemberWrapper#invokeJNI

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.