implement JVM_isNaN

This method was previously unimplemented and untested.  However, the
JMH benchmark suite requires it, so now it's time to implement it.
This commit is contained in:
Joel Dice 2014-09-21 17:31:45 -06:00
parent fa2ab168ce
commit 69d9ab004a

View File

@ -3493,9 +3493,9 @@ extern "C" AVIAN_EXPORT jboolean JNICALL
return version <= JNI_VERSION_1_6;
}
extern "C" AVIAN_EXPORT jboolean JNICALL EXPORT(JVM_IsNaN)(jdouble)
extern "C" AVIAN_EXPORT jboolean JNICALL EXPORT(JVM_IsNaN)(jdouble v)
{
abort();
return isnan(v);
}
uint64_t jvmFillInStackTrace(Thread* t, uintptr_t* arguments)