Throws StringIndexOutOfBoundsException on index overflow. However, there are significant restrictions on how these functions can be used. Reflection Support Programmers can use the JNI to call Java methods or access Java fields if they know the name and type of the methods or fields. The Java Core Reflection API allows programmers to introspect Java classes at runtime. In JDK 1.2, we introduce a standard VM initialization structure.
Backward compatibility is preserved.
The VM returns the 1.2 version of JNI interface pointer if the third argument points to a JavaVMInitArgs structure. Enable verbose output. In addition, each VM implementation may support its own set of non-standard option strings. The third argument to AttachCurrentThread was reserved, and should be set to NULL . Only the main thread may call DestroyJavaVM .