<AWT Dev> [9] Review Request: 8049583 Test closed/java/awt/List/ListMultipleSelectTest/ListMultipleSelectTest fails on Window XP

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Thu Jul 10 14:11:56 UTC 2014


Hello.
Please review the fix for jdk 9.
The bug reproduced on xp only, regression of JDK-8035739 
<https://bugs.openjdk.java.net/browse/JDK-8035739>
Description:
void * is 4 bytes
jboolean is 1 byte.

Before the fix we cast to jboolean after the fix not[1]. On XP part of 
the return value is not zeroed. So false became true.
All places where we use  JNI_IS_TRUE and SysCall were reverted.

[1] http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/5d22ffb8b826
Bug: https://bugs.openjdk.java.net/browse/JDK-8049583
Webrev can be found at: http://cr.openjdk.java.net/~serb/8049583/webrev.00

-- 
Best regards, Sergey.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20140710/4398f05d/attachment.html>


More information about the awt-dev mailing list