<AWT Dev> [10] Review Request: JDK-6857809 : [TEST_BUG] java/awt/Component/PrintAllXcheckJNI/PrintAllXcheckJNI.java

Sergey Bylokhov sergey.bylokhov at oracle.com
Wed Sep 20 14:35:49 UTC 2017


Hi, Pankaj. 
Looks fine, I assume that the test now pass on Ubuntu with GTK L&F. 

----- pankaj.b.bansal at oracle.com wrote: 
> 
> 
> 

Hi All, 



Please review the fix for test program test java/awt/Component/PrintAllXcheckJNI/PrintAllXcheckJNI.java for JDK 10. 



Bug: 

https://bugs.openjdk.java.net/browse/JDK-6857809 



Webrev: 

http://cr.openjdk.java.net/~aghaisas/pankaj/6857809/webrev.0/ 



Issue: 

The test java/awt/Component/PrintAllXcheckJNI/PrintAllXcheckJNI.java fails on Linux intermittently due to “java.lang.IllegalArgumentException: Width (0) and height (0) cannot be <= 0” exception. 



Fix: 

Made changes in java/awt/Component/PrintAllXcheckJNI/PrintAllXcheckJNI.java to set the size of frame to make the test more stable. 



Regards, 

Pankaj Bansal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20170920/278c5244/attachment.html>


More information about the awt-dev mailing list