Switched sequence and choice in JNI to varargs