-
Bug
-
Resolution: Duplicate
-
P1
-
None
-
1.4.1
-
x86, sparc
-
solaris_8, windows_98, windows_2000
When the window is maximized or resized, only part of the screen gets redraw (from top left to center). The lower and right side of the screen is gray. It passed using b15.
JDK : 1.4.1-b16 ( passed on b15)
JCK : jck1.4
Platform[s] : Windows 2K, ME and Solaris 8 Sparc/Intel were tested.
switch/Mode : default
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Failing Test :
all javax_swing interactive tests.
Test source location:
=====================
/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/javax_swing/interactive/*.java
jtr file location:
===================
How to reproduce:
====================
1. Run the attached script
JCheckBox.ksh
2. Maximize or resize the windows.
You will see top left side of the image gets redraw and the lower right is gray
--------Script START---------------------
#!/bin/ksh
SWITCH=${1+$@}
JDK=/net/jdk/export/disk8/local.java/jdk1.4.1
#JDK=/java/re/jdk/1.4.1/promoted/rc/b15/binaries
TESTBASE=/net/jdk/export/disk8/local.java/jck1.4
JCK=${TESTBASE}/JCK-runtime-14
executeClass="javasoft.sqe.tests.api.javax.swing.interactive.JCheckBox.JCheckBoxTests"
executeClassArgs="-TestCaseID JCheckBoxTest0001"
executeTestURL="-TestDirURL file:///net/jtgb4u4c.sfbay/export/sail16/JCK/jck14/JCK-runtime-14/tests/api/javax_swing/interactive/JCheckBoxTests.html#JCheckBox"
headless=false
case `uname -s` in
SunOS)
ARCH=`uname -p`
case $ARCH in
sparc)
sharedJDK=$JDK/solaris-sparc
;;
i386)
sharedJDK=$JDK/solaris-i586
;;
esac
;;
Linux)
sharedJDK=$JDK/linux-i586
ARCH=linux
;;
esac
CLASSPATH=${JCK}/classes:${JCK}/javatest.jar
DISPLAY=${DISPLAY-$HOST:0.0}
if `echo $SWITCH|grep "\-d64" >/dev/null`; then
sharedJDK=$JDK/solaris-sparcv9
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 -DDISPLAY="" -Djava.awt.headless=$headless -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}
if [[ $? == "95" ]]; then
echo pass
else
echo failed
fi
(( x = $x + 1 ))
done
--------Script END----------------------
Test output:
=============
Specific Machine Info:
=====================
SunOS jtg-s129 5.8 Generic_108528-14 sun4u sparc SUNW,Ultra-60
SunOS jtg-i116 5.8 Generic_108529-13 i86pc i386 i86pc
JDK : 1.4.1-b16 ( passed on b15)
JCK : jck1.4
Platform[s] : Windows 2K, ME and Solaris 8 Sparc/Intel were tested.
switch/Mode : default
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Failing Test :
all javax_swing interactive tests.
Test source location:
=====================
/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/javax_swing/interactive/*.java
jtr file location:
===================
How to reproduce:
====================
1. Run the attached script
JCheckBox.ksh
2. Maximize or resize the windows.
You will see top left side of the image gets redraw and the lower right is gray
--------Script START---------------------
#!/bin/ksh
SWITCH=${1+$@}
JDK=/net/jdk/export/disk8/local.java/jdk1.4.1
#JDK=/java/re/jdk/1.4.1/promoted/rc/b15/binaries
TESTBASE=/net/jdk/export/disk8/local.java/jck1.4
JCK=${TESTBASE}/JCK-runtime-14
executeClass="javasoft.sqe.tests.api.javax.swing.interactive.JCheckBox.JCheckBoxTests"
executeClassArgs="-TestCaseID JCheckBoxTest0001"
executeTestURL="-TestDirURL file:///net/jtgb4u4c.sfbay/export/sail16/JCK/jck14/JCK-runtime-14/tests/api/javax_swing/interactive/JCheckBoxTests.html#JCheckBox"
headless=false
case `uname -s` in
SunOS)
ARCH=`uname -p`
case $ARCH in
sparc)
sharedJDK=$JDK/solaris-sparc
;;
i386)
sharedJDK=$JDK/solaris-i586
;;
esac
;;
Linux)
sharedJDK=$JDK/linux-i586
ARCH=linux
;;
esac
CLASSPATH=${JCK}/classes:${JCK}/javatest.jar
DISPLAY=${DISPLAY-$HOST:0.0}
if `echo $SWITCH|grep "\-d64" >/dev/null`; then
sharedJDK=$JDK/solaris-sparcv9
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 -DDISPLAY="" -Djava.awt.headless=$headless -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}
if [[ $? == "95" ]]; then
echo pass
else
echo failed
fi
(( x = $x + 1 ))
done
--------Script END----------------------
Test output:
=============
Specific Machine Info:
=====================
SunOS jtg-s129 5.8 Generic_108528-14 sun4u sparc SUNW,Ultra-60
SunOS jtg-i116 5.8 Generic_108529-13 i86pc i386 i86pc
- duplicates
-
JDK-4710984 REGRESSION: painting is broken by manual Window resize
-
- Resolved
-