fixed JNI SPI new method signature