JDK-6582978 : 7 swing test cases are failed with 5.0u13-b01 but passed with 5.0u12 on windows
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 5.0u13
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows
  • CPU: generic
  • Submitted: 2007-07-19
  • Updated: 2010-04-03
  • Resolved: 2007-07-23
Related Reports
Duplicate :  
Description
JDK:		1.5.0_13 b01
Location:	/net/koori/onestop/jdk/1.5.0_13/latest/binaries/windows-i586
Platform[s]:	windows (x86 & amd64)			

Failing Tests:
Swing_JButton/Automated/RButtonEventOP	
Swing_JButton/Automated/DefaultButtonTest	
Swing_JPopupMenu/Automated/PopupMenu	
Swing_JTree/Automated/TestCase1	
Swing_JTree/Automated/TestCase2	
Swing_JTable/Automated/TestWideTable	
Swing_JTextFormattedTextField/Automated/NumberFormatterTest	

The same test cases are passed with previous build JDK1.5.0_12 but failed with JDK1.5.0_13-b01 on windows only.
Able to reproducible on:
win2000 JAVA_OPTS="-client -XX:+AggressiveOpts"
winXPAMD JAVA_OPTS="-server -Xint"
winVista JAVA_OPTS="-classic"
It's also reproducible if JAVA_OPTS is not specified.

Test suite location:
====================
Master SQE ws location at /net/sqesvr-nfs.sfbay/global/nfs/ws1/1.5.0_UR
or 
local at /net/cady.sfbay/export/dtf/unified/knight-ws/suites/1.5.0_UR

How to reproduce:
=================
from /net/cady.sfbay/export/dtf/unified/knight-ws/suites/1.5.0_UR run the following command:
% sh Run_Standalone.ksh -a <arg filename> 
(e.g.: sh Run_Standalone.ksh -a swing/docs/standalone/win)

arg files for each components and each platforms can be found at 
<test suite location>/swing/docs/standalone with common parameters:
JAVA_HOME=Y:/jdk/1.5.0_13/latest/binaries/windows-i586
RESULTS_DIR=Y:/dtf/unified/results/export4/tiger_u13/b01/swing
J2SE_COMPONENT_DIR=swing
TESTLIST=win.fail

create your own TESTLIST to rerun failures at <test suite location>/swing/testlist location

Results:
=========
only Swing_JButton/Automated/DefaultButtonTest is failed with exeption:
Exception in thread "main" java.lang.RuntimeException: Editable value has not changed
	at DefaultButtonTest.testEditChange(DefaultButtonTest.java:170)
	at DefaultButtonTest$RobotThread.run(DefaultButtonTest.java:138)
	at java.lang.Thread.run(Thread.java:595)

Rest of test cases are failed without any error.

Result & logs for more information can be found at: http://latte.ireland.sun.com/results/1.5.0_13/Build01/Swing/1.5.0_UR-swing-win2k_c1_XX_AggressiveOpts-2007-07-05-15-47-17-0602/

http://latte.ireland.sun.com/results/1.5.0_13/Build01/Swing/1.5.0_UR-swing-winXPAMD64_c2_Xint-2007-07-06-11-23-35-0514/