-
Bug
-
Resolution: Fixed
-
P3
-
5.0
-
tiger
-
x86
-
windows_xp
-
Verified
Name: aaR10208 Date: 04/11/2003
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.5.0-b04 (also fails with jdk1.4.2-b19)
Testbase : RegTest-test
Platform[s] : Windows XP Pro
Falling test[s]: javax/swing/JSplitPane/4816114/bug4816114.java
Regression test javax/swing/JSplitPane/4816114/bug4816114.java test fails on JDK1.5.0-b04 on Windows XP.
The test passes on Windows 2000 Pro.
The sample app from the bug#4816114 passes on both Win XP and Win 2000.
Test source location:
=====================
/java/re/jdk/1.5.0/promoted/latest/ws/j2se/test/javax/swing/JSplitPane/4816114/bug4816114.java
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results/tiger/b04/regtest/win32/winXP_PRO_-server_smp_linux-16/workDir/test/javax/swing/JSplitPane/4816114/bug4816114.jtr
How to reproduce:
=================
1. Run the following script (you may need to change its variables).
2. Wait for a while then close the appletviewer.
--- script start ---
#!/bin/sh
TESTBASE=k:/regtest.tiger/test
JDK=c:/j2sdk1.5.0
#JDK=h:/java/jdk1.5.0/win32.b03
cp $TESTBASE/javax/swing/JSplitPane/4816114/bug4816114.java .
cp $TESTBASE/javax/swing/JSplitPane/4816114/bug4816114.html .
cp $TESTBASE/javax/swing/regtesthelpers/JRobot.java .
cp $TESTBASE/javax/swing/regtesthelpers/Util.java .
$JDK/bin/javac *.java
$JDK/bin/appletviewer -Xnosecurity -J-showversion bug4816114.html
--- script end ---
Script output:
==============
java version "1.5.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b04)
Java HotSpot(TM) Client VM (build 1.5.0-beta-b04, mixed mode)
Warning: disabling security.
java.lang.Error: The divider location is wrong.
at bug4816114.destroy(bug4816114.java:89)
at sun.applet.AppletPanel.run(AppletPanel.java:450)
at java.lang.Thread.run(Thread.java:534)
Test output (jtr part):
=======================
----------System.err:(5/315)----------
java.lang.Error: The divider location is wrong.
at bug4816114.destroy(bug4816114.java:89)
at com.sun.javatest.regtest.AppletWrapper$AppletThread.run(AppletWrapper.java:156)
at java.lang.Thread.run(Thread.java:534)
STATUS:Failed.Applet thread threw exception: java.lang.Error: The divider location is wrong.
result: Failed. Execution failed: Applet thread threw exception: java.lang.Error: The divider location is wrong.
test result: Failed. Execution failed: Applet thread threw exception: java.lang.Error: The divider location is wrong.
Specific machine info:
======================
Hostname: linux-16
OS: Windows XP Pro
======================================================================