Im using Intel compiler 8.1, Linux RHAS 2.1, gcc version 2.96 20000731 (Red Hat Linux 7.2 2.96-118.7.2). I am limited to use only these versions.
Compiler command line:
icpc-shared -o libjavatest.so javatestjni.cpp
Java application loads jni library. On jni level exception is throwing and supposedly caught but the process is killed with stack trace (top 5)
#0 0x40085b41 in __kill () at __kill:-1
#1 0x4002b80b in raise (sig=6) at signals.c:65
#2 0x400870c2 in abort () at ../sysdeps/generic/abort.c:88