JDK-6449966 - Java Issue Tracker
... Calling other JNI functions in the scope of Get/ReleasePrimitiveArra! message in-Xcheck:jni 5082481 normal DnD program causes "FATAL ERROR in native method ...
... Calling other JNI functions in the scope of Get/ReleasePrimitiveArra! message in-Xcheck:jni 5082481 normal DnD program causes "FATAL ERROR in native method ...
When a dispose() method is called (from the shutdown hook which is a separate thread), AWT posts a new event (Runnable) to perform the disposal on EDT. At the same time, usage of any other threads from shutdown hooks is prohibited - see JavaDoc for Runtime.addShutdownHook().
The new plug-in is not calling preJVMStart() in kernel.dll prior to JVM start, which means that the kernel will not complete itself when lauched from the new plug-in. See the old plug-in's preJVMStart() call for an example.Tested manually to ensure function is being called correctly.