Skip to content

Commit

Permalink
8268103: JNI functions incorrectly return a double after JDK-8265836
Browse files Browse the repository at this point in the history
Backport-of: 2963c9e
  • Loading branch information
jerboaa committed Jun 15, 2021
1 parent 37f36d5 commit 4e19090
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -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
Expand Down
Expand Up @@ -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
Expand Down

1 comment on commit 4e19090

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.