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
Reviewed-by: dholmes
  • Loading branch information
jerboaa committed Jun 2, 2021
1 parent 6765f90 commit 2963c9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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

0 comments on commit 2963c9e

Please sign in to comment.