axmol/cocos
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
..
2d Clear NoSuchMethodError Exception when JniHelper fails to find methodID 2013-10-28 18:40:58 +00:00
audio fix conflicts 2013-10-22 18:36:13 +08:00
base Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into iss2771_physical 2013-10-18 15:34:13 +08:00
editor-support issue #2905:ndk-r8e build ok now 2013-10-23 17:44:20 +08:00
gui issue #2905:ndk-r8e build ok now 2013-10-23 17:44:20 +08:00
math/kazmath issue #2905: helloworld build ok on android 2013-10-14 14:01:00 +08:00
network fix conflicts 2013-10-22 18:36:13 +08:00
physics issue #2771: fix some compile error in win32 2013-10-23 18:52:09 +08:00
scripting update the reference to cocos2d-x repo. 2013-10-24 18:36:36 +08:00
storage/local-storage issues #2905:add new vs project 2013-10-21 22:21:11 +08:00