8268103: JNI functions incorrectly return a double after JDK-8265836

Reviewed-by: dholmes
This commit is contained in:
Severin Gehwolf 2021-06-02 12:18:30 +00:00
parent 6765f90250
commit 2963c9e677
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ JNIEXPORT jlong JNICALL
Java_com_sun_management_internal_OperatingSystemImpl_getHostTotalCpuTicks0 Java_com_sun_management_internal_OperatingSystemImpl_getHostTotalCpuTicks0
(JNIEnv *env, jobject mbean) (JNIEnv *env, jobject mbean)
{ {
return -1.0; return -1;
} }
JNIEXPORT jint JNICALL JNIEXPORT jint JNICALL

View File

@ -171,7 +171,7 @@ JNIEXPORT jlong JNICALL
Java_com_sun_management_internal_OperatingSystemImpl_getHostTotalCpuTicks0 Java_com_sun_management_internal_OperatingSystemImpl_getHostTotalCpuTicks0
(JNIEnv *env, jobject mbean) (JNIEnv *env, jobject mbean)
{ {
return -1.0; return -1;
} }
JNIEXPORT jint JNICALL JNIEXPORT jint JNICALL