Skip to content
Permalink
Browse files
8268103: JNI functions incorrectly return a double after JDK-8265836
Backport-of: 2963c9e
  • Loading branch information
jerboaa committed Jun 15, 2021
1 parent 37f36d5 commit 4e19090df9cbb185c5ad67d6d5792517710b6e2d
@@ -55,7 +55,7 @@ JNIEXPORT jlong JNICALL
Java_com_sun_management_internal_OperatingSystemImpl_getHostTotalCpuTicks0
(JNIEnv *env, jobject mbean)
{
return -1.0;
return -1;
}

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

JNIEXPORT jint JNICALL

1 comment on commit 4e19090

@openjdk-notifier

This comment has been minimized.

Copy link

@openjdk-notifier openjdk-notifier bot commented on 4e19090 Jun 15, 2021

Please sign in to comment.