-
Bug
-
Resolution: Fixed
-
P1
-
1.3.1_01, 1.4.0
-
rc1
-
generic, x86
-
windows_nt, windows_2000, windows_xp
-
Verified
JDK : jdk1.4.0-build 86
JCK : JCK1.4-b12, JCK1.3a
Platform[s] : Windows XP Professional, Win2000
switch/mode : -Xmixed -Xfuture
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Failing Test : api/java_awt/interactive/LWContainerTests.html#LWContainerTests
Heavyweight container does not repaint itself when added to lightweight container.
Test source location:
=====================
/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_awt/interactive/LWContainerTests.java
/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_awt/interactive/LWContainerDisplayer.java
jtr file location:
==================
/net/jtgb4u4c.eng/export/sail15/results/merlin/b86/jck14/win32/winxppro/workDir/api-interactive/api/java_awt/interactive/LWContainerTests_LWContainerTests.jtr
How to reproduce:
=================
1. Run the following script (probably, you may need to change JCK and JAVA_HOME paths)
2. Press "Add ..." button, then "Remove ..." and "Add ..." again (you may need to repeat this step several (3-5) times).
You will see that heavyweight container is shown with gray color instead of yellow one.
--- Script start ---
#!/bin/sh
JAVA_HOME="c:/j2sdk1.4.0-rc"
JCK="i:/sail16/JCK/jck14/JCK-runtime-14"
export CLASSPATH="$JCK/classes;$JCK/javatest.jar"
executeClass="javasoft.sqe.tests.api.java.awt.interactive.LWContainer.LWContainerTests"
executeArgs="-TestCaseID LWContainerTest0004"
$JAVA_HOME/bin/java -Xfuture -Xmixed -showversion ${executeClass} ${executeArgs}
--- Script end ---
Test output:
============
java version "1.4.0-rc"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-rc-b86)
Java HotSpot(TM) Client VM (build 1.4.0-rc-b86, mixed mode)
LWContainerTest0004: Failed. A heavyweight container cannot be added to and removed from a lightweight container.
STATUS:Failed.tests: 1; failed: 1; first test case failure: LWContainerTest0004
Specific Machine Info:
=====================
Hostname: jck-win2000xp
OS: Windows XP Professional
JCK : JCK1.4-b12, JCK1.3a
Platform[s] : Windows XP Professional, Win2000
switch/mode : -Xmixed -Xfuture
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Failing Test : api/java_awt/interactive/LWContainerTests.html#LWContainerTests
Heavyweight container does not repaint itself when added to lightweight container.
Test source location:
=====================
/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_awt/interactive/LWContainerTests.java
/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_awt/interactive/LWContainerDisplayer.java
jtr file location:
==================
/net/jtgb4u4c.eng/export/sail15/results/merlin/b86/jck14/win32/winxppro/workDir/api-interactive/api/java_awt/interactive/LWContainerTests_LWContainerTests.jtr
How to reproduce:
=================
1. Run the following script (probably, you may need to change JCK and JAVA_HOME paths)
2. Press "Add ..." button, then "Remove ..." and "Add ..." again (you may need to repeat this step several (3-5) times).
You will see that heavyweight container is shown with gray color instead of yellow one.
--- Script start ---
#!/bin/sh
JAVA_HOME="c:/j2sdk1.4.0-rc"
JCK="i:/sail16/JCK/jck14/JCK-runtime-14"
export CLASSPATH="$JCK/classes;$JCK/javatest.jar"
executeClass="javasoft.sqe.tests.api.java.awt.interactive.LWContainer.LWContainerTests"
executeArgs="-TestCaseID LWContainerTest0004"
$JAVA_HOME/bin/java -Xfuture -Xmixed -showversion ${executeClass} ${executeArgs}
--- Script end ---
Test output:
============
java version "1.4.0-rc"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-rc-b86)
Java HotSpot(TM) Client VM (build 1.4.0-rc-b86, mixed mode)
LWContainerTest0004: Failed. A heavyweight container cannot be added to and removed from a lightweight container.
STATUS:Failed.tests: 1; failed: 1; first test case failure: LWContainerTest0004
Specific Machine Info:
=====================
Hostname: jck-win2000xp
OS: Windows XP Professional
- duplicates
-
JDK-4524078 api\java_awt\interactive\LWContainerTests.html : LWContainerTest0004
- Closed