8064699: [parfait] JNI primitive type mismatch in jdk/src/java/desktop/unix/native/libawt_xawt/awt/awt_GraphicsEnv.c
Reviewed-by: alexsch, serb
This commit is contained in:
parent
4d25e9dfce
commit
b11667b680
@ -1498,7 +1498,7 @@ Java_sun_awt_X11GraphicsConfig_isTranslucencyCapable
|
||||
if (aData == NULL) {
|
||||
return JNI_FALSE;
|
||||
}
|
||||
return (jboolean)aData->isTranslucencySupported;
|
||||
return aData->isTranslucencySupported ? JNI_TRUE : JNI_FALSE;
|
||||
#endif
|
||||
}
|
||||
|
||||
@ -1578,9 +1578,9 @@ Java_sun_awt_X11GraphicsEnvironment_pRunningXinerama(JNIEnv *env,
|
||||
jobject this)
|
||||
{
|
||||
#ifdef HEADLESS
|
||||
return false;
|
||||
return JNI_FALSE;
|
||||
#else
|
||||
return usingXinerama;
|
||||
return usingXinerama ? JNI_TRUE : JNI_FALSE;
|
||||
#endif /* HEADLESS */
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user