JDK-8165213 : [TESTBUG] [PIT] consistent failure of a new regtest for 8163193
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 9,10
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2016-09-01
  • Updated: 2021-10-08
  • Resolved: 2017-07-06
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 10
10 b23Fixed
Related Reports
Relates :  
Description
This test, javax/swing/plaf/metal/MetalGradient/8163193/ButtonGradientTest.java, fails on Windows 10 and Ubuntu Unity, Xfce4 with
 java.lang.RuntimeException: Button gradient is changed!
which precisely is fixed in 8163193 as I understand.

Adding some printout (BTW I don't know if it is useful or not but if it is, why not add it to the test forever?), we see e.g. on Xfce
  buttonColor: java.awt.Color[r=230,g=238,b=246]
gradientColor: java.awt.Color[r=237,g=243,b=248]

RULE "javax/swing/plaf/metal/MetalGradient/8163193/ButtonGradientTest.java" Exception java.lang.RuntimeException: Button gradient is changed!
Comments
URL: http://hg.openjdk.java.net/jdk10/jdk10/jdk/rev/ef390b05c25d User: prr Date: 2017-09-07 18:20:03 +0000
07-09-2017

URL: http://hg.openjdk.java.net/jdk10/client/jdk/rev/ef390b05c25d User: aghaisas Date: 2017-07-06 11:19:35 +0000
06-07-2017

Fix is under review process.
08-06-2017

Retargeted to tbd_major as no replies/commitment to complete by Mar 16th deadline
16-02-2017

This is a test issue. The threshold for colors comparing should be increased.
01-09-2016