<Swing Dev> [11] RFR JDK-8186513:TESTBUG] javax/swing/JInternalFrame/8160248/JInternalFrameDraggingTest.java
Jayathirth D V
jayathirth.d.v at oracle.com
Tue Feb 27 16:05:05 UTC 2018
Hi Prasanta,
Just doing setUndecorated(true) is making the test pass in my windows 7 system.
Was there any specific problem in other platforms with respect to reading rgb value from the edge?
Also the newly added println is fine but please add space between first and second argument which will help to read the debug information properly before pushing.
Thanks,
Jay
-----Original Message-----
From: Prasanta Sadhukhan
Sent: Tuesday, February 27, 2018 2:30 PM
To: swing-dev at openjdk.java.net
Subject: <Swing Dev> [11] RFR JDK-8186513:TESTBUG] javax/swing/JInternalFrame/8160248/JInternalFrameDraggingTest.java
Hi All,
Please review a testfix for an issue in which test fails citing "background color is wrong" in windows, linux,mac.
It seems test tries to get the rgb value for screen capture from x=0 and if it does not match the background color of Orange, then it fails.
Modified testcase to test the rgb value from x=1 position to avoid any blending effect at the edge of windows.
Also, made the frame undecorated so that insets does not cause any blending problem at the edge.
Tested in windows7, ubuntu17.10 and mac10.13.3 and it works fine.
Bug: https://bugs.openjdk.java.net/browse/JDK-8186513
webrev: http://cr.openjdk.java.net/~psadhukhan/8186513/webrev.00/
Regards
Prasanta
More information about the swing-dev
mailing list