Lines Matching refs:Check

107       abort_catcher->Check(check_jni_msg);
117 check_jni_abort_catcher.Check(check_jni ? "non-nullable const char* was NULL"
133 // Check JNI will reject invalid class names as aborts but without pending exceptions.
136 check_jni_abort_catcher.Check("illegal class name 'java.lang.String'");
140 check_jni_abort_catcher.Check("illegal class name '[Ljava.lang.String;'");
177 check_jni_abort_catcher.Check(check_jni ? "GetFieldID received NULL jclass"
181 check_jni_abort_catcher.Check(check_jni ? "non-nullable const char* was NULL"
185 check_jni_abort_catcher.Check(check_jni ? "non-nullable const char* was NULL"
200 check_jni_abort_catcher.Check(check_jni ? "GetStaticFieldID received NULL jclass"
204 check_jni_abort_catcher.Check(check_jni ? "non-nullable const char* was NULL"
208 check_jni_abort_catcher.Check(check_jni ? "non-nullable const char* was NULL"
220 check_jni_abort_catcher.Check(check_jni ? "GetMethodID received NULL jclass"
226 check_jni_abort_catcher.Check(check_jni ? "non-nullable const char* was NULL"
230 check_jni_abort_catcher.Check(check_jni ? "non-nullable const char* was NULL"
242 check_jni_abort_catcher.Check(check_jni ? "GetStaticMethodID received NULL jclass"
247 check_jni_abort_catcher.Check(check_jni ? "non-nullable const char* was NULL"
251 check_jni_abort_catcher.Check(check_jni ? "non-nullable const char* was NULL"
266 // Check class argument for null argument, not checked in non-check JNI.
270 check_jni_abort_catcher.Check("ToReflectedField received NULL jclass");
277 check_jni_abort_catcher.Check(check_jni ? "jfieldID was NULL"
282 check_jni_abort_catcher.Check(check_jni ? "expected non-null java.lang.reflect.Field"
297 // Check class argument for null argument, not checked in non-check JNI.
301 check_jni_abort_catcher.Check("ToReflectedMethod received NULL jclass");
308 check_jni_abort_catcher.Check(check_jni ? "jmethodID was NULL"
312 check_jni_abort_catcher.Check(check_jni ? "expected non-null method" : "jlr_method == null");
324 check_jni_abort_catcher->Check(check_jni ? "RegisterNatives received NULL jclass"
331 check_jni_abort_catcher->Check("methods == null");
335 check_jni_abort_catcher->Check(check_jni ? "UnregisterNatives received NULL jclass"
349 jni_abort_catcher.Check(
353 jni_abort_catcher.Check(
357 jni_abort_catcher.Check(
361 jni_abort_catcher.Check(
365 jni_abort_catcher.Check(
369 jni_abort_catcher.Check(
373 jni_abort_catcher.Check(
379 jni_abort_catcher.Check(
385 jni_abort_catcher.Check(
403 jni_abort_catcher.Check(
408 jni_abort_catcher.Check(
413 jni_abort_catcher.Check(
418 jni_abort_catcher.Check(
423 jni_abort_catcher.Check(
428 jni_abort_catcher.Check(
433 jni_abort_catcher.Check(
447 jni_abort_catcher.Check(
453 jni_abort_catcher.Check(
471 jni_abort_catcher.Check(check_jni ? "jarray argument has non-array type: java.lang.String"
474 jni_abort_catcher.Check(check_jni ? "jarray argument has non-array type: java.lang.String"
489 jni_abort_catcher.Check(
494 jni_abort_catcher.Check(
499 jni_abort_catcher.Check(
504 jni_abort_catcher.Check(
509 jni_abort_catcher.Check(
514 jni_abort_catcher.Check(
519 jni_abort_catcher.Check(
525 jni_abort_catcher.Check(
531 jni_abort_catcher.Check(check_jni ? "jarray argument has non-array type: java.lang.String"
547 jni_abort_catcher.Check(
552 jni_abort_catcher.Check(
557 jni_abort_catcher.Check(
562 jni_abort_catcher.Check(
567 jni_abort_catcher.Check(
572 jni_abort_catcher.Check(
577 jni_abort_catcher.Check(
583 jni_abort_catcher.Check(
589 jni_abort_catcher.Check(check_jni ? "jarray argument has non-array type: java.lang.String"
603 jni_abort_catcher.Check(check_jni ? "negative jsize: -1" : "negative array length: -1");
606 jni_abort_catcher.Check(check_jni ? "negative jsize: -2147483648"
786 // Check that java.lang.Object.foo() doesn't exist and NoSuchMethodError is
792 // Check that java.lang.Object.equals() does exist.
797 // Check that GetMethodID for java.lang.String.valueOf(int) fails as the
803 // Check that GetMethodID for java.lang.NoSuchMethodError.<init>(String) finds the constructor.
808 // Check that GetMethodID can find a interface method inherited from another interface.
822 // Check that GetMethodID for java.lang.NoSuchMethodError.<init>(String) finds the constructor.
830 check_jni_abort_catcher.Check("null");
840 // Check that java.lang.Object.foo() doesn't exist and NoSuchMethodError is
846 // Check that GetStaticMethodID for java.lang.Object.equals(Object) fails as
852 // Check that java.lang.String.valueOf(int) does exist
953 // Check that registering method without name causes a NoSuchMethodError.
960 // Check that registering method without signature causes a NoSuchMethodError.
967 // Check that registering method without function causes a NoSuchMethodError.
974 // Check that registering to a non-existent java.lang.Object.foo() causes a NoSuchMethodError.
981 // Check that registering non-native methods causes a NoSuchMethodError.
989 // Check that registering native methods is successful.
997 // Check that registering no methods isn't a failure.
1005 // Check that registering a -ve number of methods is a failure.
1010 check_jni_abort_catcher.Check("negative method count: ");
1035 jni_abort_catcher.Check("negative array length: -1"); \
1037 jni_abort_catcher.Check("negative array length: -2147483648"); \
1040 jni_abort_catcher.Check("java_array == null"); \
1042 jni_abort_catcher.Check("java_array == null"); \
1044 jni_abort_catcher.Check("java_array == null"); \
1046 jni_abort_catcher.Check("java_array == null"); \
1048 jni_abort_catcher.Check("java_array == null"); \
1052 jni_abort_catcher.Check("buf == null"); \
1054 jni_abort_catcher.Check("buf == null"); \
1223 jni_abort_catcher.Check("element_jclass == null");
1227 jni_abort_catcher.Check(error_msg.c_str());
1232 jni_abort_catcher.Check("NewObjectArray received NULL jclass");
1236 jni_abort_catcher.Check(error_msg.c_str());
1258 jni_abort_catcher.Check("cannot assign object of type 'java.lang.String[]' to array with element "
1267 jni_abort_catcher.Check("java_array == null");
1270 jni_abort_catcher.Check("jarray was NULL");
1290 jni_abort_catcher.Check("java_object == null");
1308 jni_abort_catcher.Check("java_class == null");
1311 jni_abort_catcher.Check("GetSuperclass received NULL jclass");
1334 // Check that arrays are covariant.
1348 jni_abort_catcher.Check("java_class1 == null");
1350 jni_abort_catcher.Check("java_class2 == null");
1353 jni_abort_catcher.Check("IsAssignableFrom received NULL jclass");
1355 jni_abort_catcher.Check("IsAssignableFrom received NULL jclass");
1374 jni_abort_catcher.Check("use of invalid jobject");
1484 jni_abort_catcher.Check("chars == null && char_count > 0");
1491 jni_abort_catcher.Check("char_count < 0: -1");
1493 jni_abort_catcher.Check("char_count < 0: -2147483648");
1496 jni_abort_catcher.Check("negative jsize: -1");
1498 jni_abort_catcher.Check("negative jsize: -2147483648");
1572 check_jni_abort_catcher.Check("GetStringUTFChars received NULL jstring");
1670 jni_abort_catcher.Check("java_array == null");
1672 jni_abort_catcher.Check("java_array == null");
1675 jni_abort_catcher.Check("jarray was NULL");
1677 jni_abort_catcher.Check("jarray was NULL");
1698 jni_abort_catcher.Check("fid == null"); \
1700 jni_abort_catcher.Check("fid == null"); \
1704 jni_abort_catcher.Check("received NULL jclass"); \
1706 jni_abort_catcher.Check("received NULL jclass"); \
1708 jni_abort_catcher.Check("jfieldID was NULL"); \
1710 jni_abort_catcher.Check("jfieldID was NULL"); \
1726 jni_abort_catcher.Check("obj == null"); \
1728 jni_abort_catcher.Check("obj == null"); \
1730 jni_abort_catcher.Check("fid == null"); \
1732 jni_abort_catcher.Check("fid == null"); \
1735 jni_abort_catcher.Check("field operation on NULL object:"); \
1737 jni_abort_catcher.Check("field operation on NULL object:"); \
1739 jni_abort_catcher.Check("jfieldID was NULL"); \
1741 jni_abort_catcher.Check("jfieldID was NULL"); \
1844 check_jni_abort_catcher.Check(expected.c_str());
1901 check_jni_abort_catcher.Check("use of deleted local reference");
1909 check_jni_abort_catcher.Check("use of deleted local reference");
1917 check_jni_abort_catcher.Check("use of deleted local reference");
1919 check_jni_abort_catcher.Check("use of deleted local reference");
1921 check_jni_abort_catcher.Check("use of deleted local reference");
1964 check_jni_abort_catcher.Check(expected.c_str());
2017 check_jni_abort_catcher.Check(expected.c_str());
2054 check_jni_abort_catcher.Check("Throw received NULL jthrowable");
2080 check_jni_abort_catcher.Check("c == null");
2083 check_jni_abort_catcher.Check("ThrowNew received NULL jclass");
2117 check_jni_abort_catcher.Check("in call to NewDirectByteBuffer");
2174 check_jni_abort_catcher.Check("in call to MonitorEnter");
2176 check_jni_abort_catcher.Check("in call to MonitorExit");
2194 check_jni_abort_catcher.Check("Unlocking monitor that wasn't locked here");
2211 check_jni_abort_catcher.Check("Still holding a locked object on JNI end");