axmol/cocos/2d/platform/android/jni
Andrew Glass 06bd7fafd5 Clear NoSuchMethodError Exception when JniHelper fails to find methodID
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.
2013-10-28 18:40:58 +00:00
..
DPIJni.cpp issue #2905:adjust folder structure 2013-10-12 11:22:05 +08:00
DPIJni.h issue #2905:adjust folder structure 2013-10-12 11:22:05 +08:00
IMEJni.cpp issue #2905: helloworld build ok on android 2013-10-14 14:01:00 +08:00
IMEJni.h issue #2905:adjust folder structure 2013-10-12 11:22:05 +08:00
Java_org_cocos2dx_lib_Cocos2dxBitmap.cpp issue #2905: helloworld build ok on android 2013-10-14 14:01:00 +08:00
Java_org_cocos2dx_lib_Cocos2dxBitmap.h issue #2905:adjust folder structure 2013-10-12 11:22:05 +08:00
Java_org_cocos2dx_lib_Cocos2dxHelper.cpp issue #2905: helloworld build ok on android 2013-10-14 14:01:00 +08:00
Java_org_cocos2dx_lib_Cocos2dxHelper.h issue #2905:adjust folder structure 2013-10-12 11:22:05 +08:00
JniHelper.cpp Clear NoSuchMethodError Exception when JniHelper fails to find methodID 2013-10-28 18:40:58 +00:00
JniHelper.h issue #2905: helloworld build ok on android 2013-10-14 14:01:00 +08:00