1JNI_OnLoad called
2getFieldId(class TestClass, "intField", "")
3Caught java.lang.NoSuchFieldError
4getFieldId(class TestClass, "intField", "I")
5Result: true
6getFieldId(class TestClass, "intField", "int")
7Caught java.lang.NoSuchFieldError
8  caused by java.lang.NoClassDefFoundError
9getFieldId(class TestClass, "intField", "Lint;")
10Caught java.lang.NoSuchFieldError
11  caused by java.lang.ClassNotFoundException
12getFieldId(class TestClass, "stringField", "I")
13Caught java.lang.NoSuchFieldError
14getFieldId(class TestClass, "stringField", "Ljava/lang/String;")
15Result: true
16getFieldId(class TestClass, "stringField", "java/lang/String")
17Caught java.lang.NoSuchFieldError
18  caused by java.lang.NoClassDefFoundError
19getFieldId(class TestClass, "stringField", "Ljava.lang.String;")
20Caught java.lang.NoSuchFieldError
21  caused by java.lang.NoClassDefFoundError
22getFieldId(class TestClass, "stringField", "java.lang.String")
23Caught java.lang.NoSuchFieldError
24  caused by java.lang.NoClassDefFoundError
25Test that MyClassLoader.loadClass("Bad.Class") shall not be called.
26  Error message for Bad/Class: Invalid descriptor: Bad/Class.
27  Error message for Bad.Class: Invalid descriptor: Bad.Class.
28  Error message for LBad.Class;: Invalid descriptor: LBad.Class;.
29