-
Notifications
You must be signed in to change notification settings - Fork 908
Closed
Description
The OMPI native method error handling code ompi_java_exceptionCheck
could use some improving. In particular, there are some cases where the MPI native code might return MPI_SUCCESS, but actually the JNI support code detected something was amiss and had thrown an exception. Currently this case is not being handled correctly.
The two attached test cases illustrate the problem. In the first case, the MPI native code returns an error, which ompi_jav_exceptionCheck
correctly handles. The second case, an out-of-bounds error from
java.lang.ArrayIndexOutOfBoundsException
is not handled correctly.
Thanks to Siegmar for reporting ( http://www.open-mpi.org/community/lists/users/2016/05/29256.php)
Exception_1_Main.txt
Exception_2_Main.txt