Native C++ exceptions not catched in Solaris
0 posts in topic
Flat View  Flat View

Posted By:   atos_odsOrigin
Posted On:   Monday, January 21, 2002 02:48 AM

I have a Java program that uses the JNI to call some methods from a C++ dynamic library.

In this library there are exceptions raised and handled in the C++ code itself and the whole system works perfectly fine in a windows environment.

However, when I repeat the process in Solaris (with the library properly recompiled and handling exceptions equally fine if I make no use of the JNI dependent part) the program ceases to be able to catch exceptions and the program crashes since the exception passes up to Java.

Is there a solution to this problem?
I would appretiate any insight that can help me in any way. Thank you.

About | Sitemap | Contact