-
Bug
-
Resolution: Fixed
-
P3
-
1.4.2
-
mantis
-
generic, x86
-
generic, linux
-
Verified
Filed By : J2SE-SQA [###@###.###
JDK : 1.4.2-beta-b03
JCK : jck1.4a
Platform[s] : Solaris sparc, x86
switch/Mode : -interactive
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Failing Test :
api/javax_swing/interactive/JWindowTests.html
JWindowTest0002 and JWindowTest0003
Test source location:
=====================
/net/jtgb4u4c.sfbay/export/sail11/JCK/jck14a/JCK-runtime-14a/tests/api/javax_swing/interactive/JWindowTests.java
jtr file location:
==================
JWindowTests_JWindow.jtr is attached.
How to reproduce:
====================
1. run the attached script, JWindowTests.ksh, to start test.
2. Click on "Show Window" to display a JWindow.
3. Type "1" in TextField will display "11". Type any character will also display double characters.
This problem happens since JDK142 b02. Not in JDK142 b01, JDK141.
--------Script START---------------------
#!/bin/ksh
SWITCH=${1+$@}
case `uname -s` in
SunOS|Linux)
JDK=/net/jdk/export/disk8/local.java/jdk1.4.2
# JDK=/net/jdk/export/disk8/local.java/jdk1.4.1
# JDK=/net/koori/onestop/jdk/1.4.2/promoted/all/b01/binaries
TESTBASE=/net/koori/onestop/jck/1.4a/promoted/fcs/binaries
# TESTBASE=/net/jtgb4u4c/export/sail16/JCK/jck14a
;;
*)
JDK="y:/jdk1.3.1"
TESTBASE="y:/jck1.4"
TESTBASE="z:/sail16/JCK/jck14a"
;;
esac
JCK=${TESTBASE}/JCK-runtime-14a
executeClass="javasoft.sqe.tests.api.javax.swing.interactive.JWindow.JWindowTests"
excludeCmd=
executeClassArgs="-TestCaseID JWindowTest0002 JWindowTest0003"
executeteTestURL=
headless=
#executeContextArgs is used for vm testing.
executeContextArgs=
case `uname -s` in
SunOS)
ARCH=`uname -p`
case $ARCH in
sparc)
sharedJDK=$JDK/solaris-sparcv9
;;
i386)
sharedJDK=$JDK/solaris-i586
;;
esac
;;
Linux)
sharedJDK=$JDK/linux-i586
ARCH=linux
;;
*)
sharedJDK=$JDK/windows-i586
ARCH=wintel
;;
esac
case `uname -s` in
SunOS | Linux)
CLASSPATH=${JCK}/classes:${JCK}/javatest.jar
PATH=$sharedJDK/bin:$JDK/bin:$PATH
;;
*)
CLASSPATH="${JCK}/classes;${JCK}/javatest.jar"
PATH="$sharedJDK/bin;$JDK/bin;$CLASSPATH;$PATH"
;;
esac
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
export PATH CLASSPATH DISPLAY LD_LIBRARY_PATH
echo
java ${SWITCH} -version
java ${SWITCH} -verify -Xfuture -cp $CLASSPATH -Djava.security.policy=${JCK}/lib/jck.policy -Djava.security.auth.policy=${JCK}/lib/java.auth.policy -Djava.security.auth.login.config=${JCK}/lib/java.login.config -Djava.rmi.activation.port=${executeClass} ${executeClass} ${excludeCmd} ${executeClassArgs} ${executeContextArgs} ${executeteTestURL}
--------Script END----------------------
Test output:
=============
jtgb4u2e:/home/chien/mantis 77 % JWindowTests.ksh
java version "1.4.2-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-beta-b03)
Java HotSpot(TM) Client VM (build 1.4.2-beta-b03, mixed mode)
JWindowTest0002: Failed. JWindow(Frame owner) does not behave as expected.
JWindowTest0003: Failed. JWindow setFocusableWindowState() does not behave as expected.
STATUS:Failed.test cases: 2; all failed; first test case failure: JWindowTest0002
Specific Machine Info:
=====================
SunOS jtg-i116 5.8 Generic_108529-13 i86pc i386 i86pc
SunOS jtgb4u2e 5.10 s10_19 sun4u sparc SUNW,Ultra-60
###@###.### 2002-10-23
JDK : 1.4.2-beta-b03
JCK : jck1.4a
Platform[s] : Solaris sparc, x86
switch/Mode : -interactive
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Failing Test :
api/javax_swing/interactive/JWindowTests.html
JWindowTest0002 and JWindowTest0003
Test source location:
=====================
/net/jtgb4u4c.sfbay/export/sail11/JCK/jck14a/JCK-runtime-14a/tests/api/javax_swing/interactive/JWindowTests.java
jtr file location:
==================
JWindowTests_JWindow.jtr is attached.
How to reproduce:
====================
1. run the attached script, JWindowTests.ksh, to start test.
2. Click on "Show Window" to display a JWindow.
3. Type "1" in TextField will display "11". Type any character will also display double characters.
This problem happens since JDK142 b02. Not in JDK142 b01, JDK141.
--------Script START---------------------
#!/bin/ksh
SWITCH=${1+$@}
case `uname -s` in
SunOS|Linux)
JDK=/net/jdk/export/disk8/local.java/jdk1.4.2
# JDK=/net/jdk/export/disk8/local.java/jdk1.4.1
# JDK=/net/koori/onestop/jdk/1.4.2/promoted/all/b01/binaries
TESTBASE=/net/koori/onestop/jck/1.4a/promoted/fcs/binaries
# TESTBASE=/net/jtgb4u4c/export/sail16/JCK/jck14a
;;
*)
JDK="y:/jdk1.3.1"
TESTBASE="y:/jck1.4"
TESTBASE="z:/sail16/JCK/jck14a"
;;
esac
JCK=${TESTBASE}/JCK-runtime-14a
executeClass="javasoft.sqe.tests.api.javax.swing.interactive.JWindow.JWindowTests"
excludeCmd=
executeClassArgs="-TestCaseID JWindowTest0002 JWindowTest0003"
executeteTestURL=
headless=
#executeContextArgs is used for vm testing.
executeContextArgs=
case `uname -s` in
SunOS)
ARCH=`uname -p`
case $ARCH in
sparc)
sharedJDK=$JDK/solaris-sparcv9
;;
i386)
sharedJDK=$JDK/solaris-i586
;;
esac
;;
Linux)
sharedJDK=$JDK/linux-i586
ARCH=linux
;;
*)
sharedJDK=$JDK/windows-i586
ARCH=wintel
;;
esac
case `uname -s` in
SunOS | Linux)
CLASSPATH=${JCK}/classes:${JCK}/javatest.jar
PATH=$sharedJDK/bin:$JDK/bin:$PATH
;;
*)
CLASSPATH="${JCK}/classes;${JCK}/javatest.jar"
PATH="$sharedJDK/bin;$JDK/bin;$CLASSPATH;$PATH"
;;
esac
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
export PATH CLASSPATH DISPLAY LD_LIBRARY_PATH
echo
java ${SWITCH} -version
java ${SWITCH} -verify -Xfuture -cp $CLASSPATH -Djava.security.policy=${JCK}/lib/jck.policy -Djava.security.auth.policy=${JCK}/lib/java.auth.policy -Djava.security.auth.login.config=${JCK}/lib/java.login.config -Djava.rmi.activation.port=${executeClass} ${executeClass} ${excludeCmd} ${executeClassArgs} ${executeContextArgs} ${executeteTestURL}
--------Script END----------------------
Test output:
=============
jtgb4u2e:/home/chien/mantis 77 % JWindowTests.ksh
java version "1.4.2-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-beta-b03)
Java HotSpot(TM) Client VM (build 1.4.2-beta-b03, mixed mode)
JWindowTest0002: Failed. JWindow(Frame owner) does not behave as expected.
JWindowTest0003: Failed. JWindow setFocusableWindowState() does not behave as expected.
STATUS:Failed.test cases: 2; all failed; first test case failure: JWindowTest0002
Specific Machine Info:
=====================
SunOS jtg-i116 5.8 Generic_108529-13 i86pc i386 i86pc
SunOS jtgb4u2e 5.10 s10_19 sun4u sparc SUNW,Ultra-60
###@###.### 2002-10-23
- relates to
-
JDK-4495473 JCK1.4, interactive: api/javax_swing/interactive/JWindowTests.html#JWindow, Linu
-
- Closed
-