-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P5
-
Affects Version/s: 1.4.1
-
Component/s: hotspot
-
mantis
-
generic
-
generic
The JNI RegisterNatives() method specification says it
returns -1 only if it throws an exception. Specifically, it should
throw NoSuchMethodError if one of the method names and signatures
cannot be found or if a method is non-native.
From a code inspection, it appears HotSpot is returning
-1 for these cases but is failing to throw/post the exception.
returns -1 only if it throws an exception. Specifically, it should
throw NoSuchMethodError if one of the method names and signatures
cannot be found or if a method is non-native.
From a code inspection, it appears HotSpot is returning
-1 for these cases but is failing to throw/post the exception.