The Color on the left of the slider didn't change after selecting the color for the second time using HSB tab.
JDK : 1.4.0-beta-b83
JCK : jck1.4-b11
Platform[s] : Solaris Sparc/Intel
switch/Mode : default
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Failing Test :
api/javax_swing/interactive/JColorChooserTests.html#JColorChooser
JColorChooserTest0001:
JColorChooserTest0002:
Test source location:
=====================
/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/javax_swing/interactive/JColorChooserTests.java
jtr file location:
==================
file:///net/jtgb4u4c/export/sail16/results/merlin/b83/jck14/sparc/s6_client_jtg-s114/workDir/api-interactive/javax_swing/interactive/JColorChooserTests_JColorChooser.jtr
How to reproduce:
====================
run the attached script.
Color.ksh
1) click "Show color Chooser".
2) click "HSB" tab.
3) select any color using the slider"
4) press Done.
5) repeate step 1.
--------Script START---------------------
#!/bin/ksh
SWITCH=${1+$@}
JDK=/net/jdk/export/disk8/local.java/jdk1.4.0
#JDK=/net/jdk/export/disk6/promoted/jdk/1.4/beta3/b81/binaries
TESTBASE=/net/jdk/export/disk8/local.java/jck1.4
JCK=${TESTBASE}/JCK-runtime-14
executeClass="javasoft.sqe.tests.api.javax.swing.interactive.JColorChooser.JColorChooserTests"
excludeCmd=""
executeClassArgs="-TestCaseID JColorChooserTest0001 JColorChooserTest0002"
executeTestURL=""
headless=
executeContextArgs=
case `uname -s` in
SunOS)
ARCH=`uname -p`
case $ARCH in
sparc)
sharedJDK=$JDK/solsparc
;;
i386)
sharedJDK=$JDK/solx86
;;
esac
;;
Linux)
sharedJDK=$JDK/linux-i386
ARCH=linux
;;
esac
CLASSPATH=${JCK}/classes:${JCK}/javatest.jar
DISPLAY=${DISPLAY-$HOST:0.0}
if `echo $SWITCH|grep "\-d64" >/dev/null`; then
LD_LIBRARY_PATH=${JCK}/lib/sparcv9
else
LD_LIBRARY_PATH=${JCK}/lib/${ARCH}
fi
PATH=$JDK/bin:$sharedJDK/bin:$PATH
export PATH CLASSPATH DISPLAY LD_LIBRARY_PATH
echo
java ${SWITCH} -version
echo
((x=0))
while (( $x != 1 )) do
echo testing $x
java ${SWITCH} -verify -Xfuture -Djava.security.policy=${JCK}/lib/jck.policy -Djava.security.auth.policy=${JCK}/lib/jck.auth.policy -Djava.security.auth.login.config=${JCK}/lib/jck.auth.login.config -Djava.rmi.activation.port=${executeClass} ${executeClass} ${excludeCmd} ${executeClassArgs} ${executeContextArgs} ${executeTestURL}
(( x = $x + 1 ))
done
--------Script END----------------------
Test output:
=============
Specific Machine Info:
=====================
SunOS jtg-s114 5.6 Generic_105181-26 sun4u sparc SUNW,Ultra-2
SunOS jtg-i108 5.8 Generic i86pc i386 i86pc
###@###.### 2001-10-16