I am wondering of anyone knows the answer to the following. I have a C++
library that is loaded in the VM by JNI. The library throws C++ exceptions.
This work fine on Windows, but on Solaris there are problems. This was
related to the fact that the C++ runtime was not initialized by the JVM
since the JVM is written in C. Does anyone know if this has been fixed in
more recent JVMs or is there some sort of a compiler trick that can be
applied to force the proper initialization to occur when the JVM starts up.