-
Bug
-
Resolution: Fixed
-
P3
-
5.0
-
b28
-
x86, itanium
-
linux
-
Verified
Name: aaR10208 Date: 10/07/2003
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.5.0-b22
Testbase : RegTest-test
Platform[s] : RedHat Linux 2.1 Adv. Server
switch/Mode : general
Falling test[s]: java/awt/Focus/FocusPolicyTest/FocusPolicyTest.java
RegTest-test java/awt/Focus/FocusPolicyTest/FocusPolicyTest.java test fails on JDK1.5.0-b22, but passes with b21.
Test source location:
=====================
/java/re/jdk/1.5.0/promoted/all/b22/ws/j2se/test/java/awt/Focus/FocusPolicyTest/FocusPolicyTest.java
jtr file location:
==================
/net/jtgb4u4c/export/sail15/results.2/tiger/b22/regtest/linux/rh_adv_serv_jcc-itanium-01/workDir/test/java/awt/Focus/FocusPolicyTest/FocusPolicyTest.jtr
How to reproduce:
=================
Run the following script (you may need to change its variables)
--- script start ---
#!/bin/sh
#J_HOME=/net/koori/onestop/jdk/1.5.0/promoted/all/b21/
#JDK=${J_HOME}/binaries/solaris-sparc
J_HOME=/net/koori/onestop/jdk/1.5.0/promoted/all/b22/
JDK=${J_HOME}/binaries/linux-i586
TEST_BASE=${J_HOME}/ws/j2se/test
TEST=FocusPolicyTest
TESTSRC=${TEST_BASE}/java/awt/Focus/FocusPolicyTest
cp $TESTSRC/$TEST.java .
${JDK}/bin/javac ${TEST}.java
${JDK}/bin/java -showversion ${TEST}
--- script end ---
Test output (jtr part):
=======================
----------System.out:(0/0)----------
----------System.err:(15/1137)----------
isXawt = true
java.lang.RuntimeException: Error: stage 3: javax.swing.JApplet's policy is java.awt.DefaultFocusTraversalPolicy but not javax.swing.LayoutFocusTraversalPolicy
at FocusPolicyTest.checkSwingPoliciesFor(FocusPolicyTest.java:109)
at FocusPolicyTest.main(FocusPolicyTest.java:34)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:82)
at java.lang.Thread.run(Thread.java:549)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Error: stage 3: javax.swing.JApplet's policy is java.awt.DefaultFocusTraversalPolicy but not javax.swing.LayoutFocusTraversalPolicy
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Error: stage 3: javax.swing.JApplet's policy is java.awt.DefaultFocusTraversalPolicy but not javax.swing.LayoutFocusTraversalPolicy
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Error: stage 3: javax.swing.JApplet's policy is java.awt.DefaultFocusTraversalPolicy but not javax.swing.LayoutFocusTraversalPolicy
test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Error: stage 3: javax.swing.JApplet's policy is java.awt.DefaultFocusTraversalPolicy but not javax.swing.LayoutFocusTraversalPolicy
Specific machine info:
======================
Hostname: JCC-ITANIUM-01
OS: RedHat Linux 2.1 Adv. Server
======================================================================
- duplicates
-
JDK-4949956 Regression-cte CTE_REGTEST/Generic/4707289/JAppletTest.java fails
- Closed