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

Petr Pchelko petr.pchelko at oracle.com
Thu Jul 10 14:16:05 UTC 2014


Hello, Sergey.

The fix looks good to me. 
I assume that you will file a separate bug for returning parfait problems.

With best regards. Petr.


On 10 июля 2014 г., at 18:11, Sergey Bylokhov <Sergey.Bylokhov at oracle.com> wrote:

> Hello.
> Please review the fix for jdk 9. 
> The bug reproduced on xp only, regression of 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/315c003b/attachment.html>


More information about the awt-dev mailing list