JDK-6866747 : [TEST_BUG] J2SE_Swing_Reg:can not see any HSB tab
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 7u25,8
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic,windows_vista
  • CPU: generic,x86
  • Submitted: 2009-07-30
  • Updated: 2014-07-25
  • Resolved: 2012-09-05
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 8
8 b55Fixed
Related Reports
Relates :  
Description
platform: VistaUltimate_64bit
build:1.7.0.b64
case#:javax/swing/JColorChooser/Test4380468.java 
# Case descriptions:
1.Click the HSB tab at the ColorChooser.
2.Click in the lower left corner of the gradient palette in order to select a color such that all three RGB values are single digit colors(such as 0,0,0 or 5,3,1).
3.Click another tab,then click back to the HSB tab.
4.Now click the lighter colors that should have 2 and 3 digit RGB values(in the upper right corner).
if all digits of each RGB value are shown then test passes.If only the last digit of their values are shown then test fails.
# Actual behavior:
Can't see HSB tab.
Pls refer to the attached shots
# Exceptions:
None
# Steps to reproduce:
1).do as the following code:
---------Begin code---------
import java.awt.Color;
import javax.swing.JApplet;
import javax.swing.JColorChooser;

public class Test4380468 extends JApplet {
    public void init() {
        add(new JColorChooser(Color.GREEN));
    }
}
---------End code-----------
2).the case pass with 6u12

#Validation
Same issue happens to:
Product: j2se
OS: ubuntu9.04-i586
JDK/JREBuildNo.: 1.7.0b66

Comments
There is not such test in 8u25 b08 repo: http://jre.us.oracle.com/java/re/jdk/8u25/promoted/ea/b08/ws/jdk/test/javax/swing/JColorChooser Removed 8u25 from affects version
25-07-2014

P4 as a test issue
08-05-2013

To be clear, this test is removed from the 8 regression ws http://jre.sfbay.sun.com/java/re/jdk/8/promoted/all/b86/ws/jdk/test/javax/swing/JColorChooser/ and still present in the 7u ws http://jre.sfbay.sun.com/java/re/jdk/7_25/promoted/fcs/b09/ws/jdk/test/javax/swing/JColorChooser/ . This bug was verified and closed only for the fix version 8 and not on other ws. And this bug needs to be backported.
02-05-2013

sles11-x64 7u25b06(64bit) and 7u25b07(64bit) It has same issue.
23-04-2013

javax/swing/JColorChooser/Test4380468.java is removed and is not in the regression ws
16-04-2013

oel6.3-x64 7u12b05(64bit) It has same issue.
26-12-2012

EVALUATION The test checks fields with RGB values on HSB tab. Now HSB is renamed into HSV and there are no RGB fields on the new tab. So the test is outdated and should be removed at all.
20-08-2012

EVALUATION Due to spec changes,please forward it to case designer and inform to update and sync up.
15-09-2009

EVALUATION Changes in the JDK 7 ColorChooser Dialog - HSB tab has been removed and HSV and HSL tab available now - test needs to be updated
19-08-2009