8268103: JNI functions incorrectly return a double after JDK-8265836
Reviewed-by: dholmes
This commit is contained in:
parent
6765f90250
commit
2963c9e677
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user