Exception from Native Method doesnt stop the thread
Using System.loadLibrary(), We have loaded the dll from a thread class. The JNI environment is made available in the entire DLL. So In case of any error from DLL, the DLL throws an exception to the calling Java application. The thread does not stop after getting the Exception as the JAVA document says. And also we are not able to kill the thread explicitly.
Though the exception is thrown to Java and caught in Java, the DLL process continues. As a result, both Java application and DLL hang.
Would be grateful if we get a solution soon.
Thanks in advance,
Regards,
Somaundaram.R,
Email : somraj@hotmail.com

