mirror of https://github.com/axmolengine/axmol.git
06bd7fafd5
When calling GetMethodID a NoSuchMethodError will be raised if the method cannot be found. See http://docs.oracle.com/javase/7/docs/technotes/guides/jni/spec/functions.html#wp16660 This exception should be cleared if JNI execution is to be continued. Currently JniHelper informs that the method is not found, but there is no way to continue execution without manually clearing the exception. This prevents checking for the existence of a method and recovering from it being missing. This fix will clear the exception if JniHelper fails to find the method. |
||
---|---|---|
.. | ||
DPIJni.cpp | ||
DPIJni.h | ||
IMEJni.cpp | ||
IMEJni.h | ||
Java_org_cocos2dx_lib_Cocos2dxBitmap.cpp | ||
Java_org_cocos2dx_lib_Cocos2dxBitmap.h | ||
Java_org_cocos2dx_lib_Cocos2dxHelper.cpp | ||
Java_org_cocos2dx_lib_Cocos2dxHelper.h | ||
JniHelper.cpp | ||
JniHelper.h |