| Age | Commit message (Collapse) | Author |
|
|
|
This is required to properly select among overloaded methods. It however
relies on java.lang.Object-overloaded method to come last, which appears
to be the case for OpenJDK.
|
|
For example, don't pass Integer to double method. This is still not
selective enough to choose the right overloaded method maong those
taking objects.
|
|
Using generic iteration-via-subscription support (TODO: factor it out for
reuse).
|
|
|
|
|
|
|
|
Not remove so far, may be needed later.
|
|
|
|
OpenJDK seemed to return NULL in case of exception, but Dalvik returns
arbitrary value, so skip such "optimizations".
|
|
|
|
|
|
|
|
|
|
|
|
|
|
To avoid local ref table overflow.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
So far, no signature check is done (TODO).
|
|
long).
|
|
|
|
Useful to load native method libraries not loaded by VM (as happens on
Android).
|
|
|
|
|
|
|
|
|
|
|
|
This includes Android Dalvik VM for example.
Example usage:
import jni
System = jni.cls("java/lang/System")
System.out.println("Hello, Java!")
|