sorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:495)
at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:399)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:127)
at javasoft.sqe.tests.api.java.awt.Button.AccessibleAWTButton.serial.InputTests.main(InputTests.java:33)
serial2002 failed.
STATUS:Failed.test cases: 1; all failed; first test case failure: serial2002
Specific machine info:
======================
Hostname: linux-22
OS: RedHat Linux 9.0 (GNOME)
Hostname: linux-3
OS: Solaris 10 (x86) (CDE)
Hostname: linux-4
OS: SuSE SLES 8
Hostname: linux-6
OS: Solaris 9 (x86) (O/W)
Hostname: linux-8
OS: Solaris 10 (sparc) (GNOME)
======================================================================
Name: iaR10016 Date: 03/10/2004
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.5.0-b41
(the tests pass using JCK1.4a, JDK1.4.2-b28)
JCK : JCK1.5-runtime (b13, b14)
Platform[s] : all
switch/Mode : default
JCK test owner : http://javaweb.sfbay/jcce/tcks/jck/1.5/project/data_reports/owners.jto
Falling test[s]:
api/java_awt/Dialog/AccessibleAWTDialog/serial/index.html#Input [serial2002]
api/java_awt/Button/AccessibleAWTButton/serial/index.html#Input [serial2002]
api/java_awt/Canvas/AccessibleAWTCanvas/serial/index.html#Input [serial2002]
api/java_awt/Checkbox/AccessibleAWTCheckbox/serial/index.html#Input [serial2002]
api/java_awt/CheckboxMenuItem/AccessibleAWTCheckboxMenuItem/serial/index.html#Input [serial2002]
api/java_awt/Choice/AccessibleAWTChoice/serial/index.html#Input [serial2002]
api/java_awt/Component/AccessibleAWTComponent/serial/index.html#Input [serial2002]
api/java_awt/Label/AccessibleAWTLabel/serial/index.html#Input [serial2002]
api/java_awt/List/AccessibleAWTList/AccessibleAWTListChild/serial/index.html#Input [serial2002]
api/java_awt/List/AccessibleAWTList/serial/index.html#Input [serial2002]
api/java_awt/Menu/AccessibleAWTMenu/serial/index.html#Input [serial2002]
api/java_awt/MenuBar/AccessibleAWTMenuBar/serial/index.html#Input [serial2002]
api/java_awt/MenuComponent/AccessibleAWTMenuComponent/serial/index.html#Input [serial2002]
api/java_awt/MenuItem/AccessibleAWTMenuItem/serial/index.html#Input [serial2002]
api/java_awt/Panel/AccessibleAWTPanel/serial/index.html#Input [serial2002]
api/java_awt/PopupMenu/AccessibleAWTPopupMenu/serial/index.html#Input [serial2002]
api/java_awt/ScrollPane/AccessibleAWTScrollPane/serial/index.html#Input [serial2002]
api/java_awt/Scrollbar/AccessibleAWTScrollBar/serial/index.html#Input [serial2002]
api/java_awt/TextArea/AccessibleAWTTextArea/serial/index.html#Input [serial2002]
api/java_awt/TextComponent/AccessibleAWTTextComponent/serial/index.html#Input [serial2002]
api/java_awt/TextField/AccessibleAWTTextField/serial/index.html#Input [serial2002]
api/java_awt/Window/AccessibleAWTWindow/serial/index.html#Input [serial2002]
api/java_awt/serialization/descriptions.html#Component [testRead]
api/java_awt/serialization/descriptions.html#Container [testRead]
api/java_awt/serialization/descriptions.html#ScrollPane [testRead]
25 JCK1.5-runtime (b14) serial tests fail with java.io.InvalidClassException using JDK1.5.0-b41 because
SerialVersionUID for some awt classes was changed in the latest tiger builds.
Most of these tests are in the latest JCK1.5 known failure list and failed in previous tiger builds
because of the bug 4982231 integrated in tiger.
Please, see also bug 4972569.
Test source location:
=====================
/java/re/jck/1.5/promoted/beta/b14/binaries/JCK-runtime-15/tests/api/java_awt/Dialog/AccessibleAWTDialog/serial/InputTests.java
/java/re/jck/1.5/promoted/beta/b14/binaries/JCK-runtime-15/tests/api/java_awt/Button/AccessibleAWTButton/serial/InputTests.java
/java/re/jck/1.5/promoted/beta/b14/binaries/JCK-runtime-15/tests/api/java_awt/Canvas/AccessibleAWTCanvas/serial/InputTests.java
/java/re/jck/1.5/promoted/beta/b14/binaries/JCK-runtime-15/tests/api/java_awt/Checkbox/AccessibleAWTCheckbox/serial/InputTests.java
/java/re/jck/1.5/promoted/beta/b14/binaries/JCK-runtime-15/tests/api/java_awt/CheckboxMenuItem/AccessibleAWTCheckboxMenuItem/serial/InputTests.java
/java/re/jck/1.5/promoted/beta/b14/binaries/JCK-runtime-15/tests/api/java_awt/Choice/AccessibleAWTChoice/serial/InputTests.java
/java/re/jck/1.5/promoted/beta/b14/binaries/JCK-runtime-15/tests/api/java_awt/Component/AccessibleAWTComponent/serial/InputTests.java
/java/re/jck/1.5/promoted/beta/b14/binaries/JCK-runtime-15/tests/api/java_awt/Label/AccessibleAWTLabel/serial/InputTests.java
/java/re/jck/1.5/promoted/beta/b14/binaries/JCK-runtime-15/tests/api/java_awt/List/AccessibleAWTList/AccessibleAWTListChild/serial/InputTests.java
/java/re/jck/1.5/promoted/beta/b14/binaries/JCK-runtime-15/tests/api/java_awt/List/AccessibleAWTList/serial/InputTests.java
/java/re/jck/1.5/promoted/beta/b14/binaries/JCK-runtime-15/tests/api/java_awt/Menu/AccessibleAWTMenu/serial/InputTests.java
/java/re/jck/1.5/promoted/beta/b14/binaries/JCK-runtime-15/tests/api/java_awt/MenuBar/AccessibleAWTMenuBar/serial/InputTests.java
/java/re/jck/1.5/promoted/beta/b14/binaries/JCK-runtime-15/tests/api/java_awt/MenuComponent/AccessibleAWTMenuComponent/serial/InputTests.java
/java/re/jck/1.5/promoted/beta/b14/binaries/JCK-runtime-15/tests/api/java_awt/MenuItem/AccessibleAWTMenuItem/serial/InputTests.java
/java/re/jck/1.5/promoted/beta/b14/binaries/JCK-runtime-15/tests/api/java_awt/Panel/AccessibleAWTPanel/serial/InputTests.java
/java/re/jck/1.5/promoted/beta/b14/binaries/JCK-runtime-15/tests/api/java_awt/PopupMenu/AccessibleAWTPopupMenu/serial/InputTests.java
/java/re/jck/1.5/promoted/beta/b14/binaries/JCK-runtime-15/tests/api/java_awt/ScrollPane/AccessibleAWTScrollPane/serial/InputTests.java
/java/re/jck/1.5/promoted/beta/b14/binaries/JCK-runtime-15/tests/api/java_awt/Scrollbar/AccessibleAWTScrollBar/serial/InputTests.java
/java/re/jck/1.5/promoted/beta/b14/binaries/JCK-runtime-15/tests/api/java_awt/TextArea/AccessibleAWTTextArea/serial/InputTests.java
/java/re/jck/1.5/promoted/beta/b14/binaries/JCK-runtime-15/tests/api/java_awt/TextComponent/AccessibleAWTTextComponent/serial/InputTests.java
/java/re/jck/1.5/promoted/beta/b14/binaries/JCK-runtime-15/tests/api/java_awt/TextField/AccessibleAWTTextField/serial/InputTests.java
/java/re/jck/1.5/promoted/beta/b14/binaries/JCK-runtime-15/tests/api/java_awt/Window/AccessibleAWTWindow/serial/InputTests.java
/java/re/jck/1.5/promoted/beta/b14/binaries/JCK-runtime-15/tests/api/java_awt/serialization/ComponentTests.java
/java/re/jck/1.5/promoted/beta/b14/binaries/JCK-runtime-15/tests/api/java_awt/serialization/ContainerTests.java
/java/re/jck/1.5/promoted/beta/b14/binaries/JCK-runtime-15/tests/api/java_awt/serialization/ScrollPaneTests.java
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b41/jck15/sparc/Solaris_10_sparc_GNOME__linux-8/workDir/api/java_awt/Dialog/AccessibleAWTDialog/serial/index_Input.jtr
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b41/jck15/sparc/Solaris_10_sparc_GNOME__linux-8/workDir/api/java_awt/Button/AccessibleAWTButton/serial/index_Input.jtr
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b41/jck15/sparc/Solaris_10_sparc_GNOME__linux-8/workDir/api/java_awt/Canvas/AccessibleAWTCanvas/serial/index_Input.jtr
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b41/jck15/sparc/Solaris_10_sparc_GNOME__linux-8/workDir/api/java_awt/Checkbox/AccessibleAWTCheckbox/serial/index_Input.jtr
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b41/jck15/sparc/Solaris_10_sparc_GNOME__linux-8/workDir/api/java_awt/CheckboxMenuItem/AccessibleAWTCheckboxMenuItem/serial/index_Input.jtr
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b41/jck15/sparc/Solaris_10_sparc_GNOME__linux-8/workDir/api/java_awt/Choice/AccessibleAWTChoice/serial/index_Input.jtr
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b41/jck15/sparc/Solaris_10_sparc_GNOME__linux-8/workDir/api/java_awt/Component/AccessibleAWTComponent/serial/index_Input.jtr
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b41/jck15/sparc/Solaris_10_sparc_GNOME__linux-8/workDir/api/java_awt/Label/AccessibleAWTLabel/serial/index_Input.jtr
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b41/jck15/sparc/Solaris_10_sparc_GNOME__linux-8/workDir/api/java_awt/List/AccessibleAWTList/AccessibleAWTListChild/serial/index_Input.jtr
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b41/jck15/sparc/Solaris_10_sparc_GNOME__linux-8/workDir/api/java_awt/List/AccessibleAWTList/serial/index_Input.jtr
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b41/jck15/sparc/Solaris_10_sparc_GNOME__linux-8/workDir/api/java_awt/Menu/AccessibleAWTMenu/serial/index_Input.jtr
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b41/jck15/sparc/Solaris_10_sparc_GNOME__linux-8/workDir/api/java_awt/MenuBar/AccessibleAWTMenuBar/serial/index_Input.jtr
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b41/jck15/sparc/Solaris_10_sparc_GNOME__linux-8/workDir/api/java_awt/MenuComponent/AccessibleAWTMenuComponent/serial/index_Input.jtr
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b41/jck15/sparc/Solaris_10_sparc_GNOME__linux-8/workDir/api/java_awt/MenuItem/AccessibleAWTMenuItem/serial/index_Input.jtr
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b41/jck15/sparc/Solaris_10_sparc_GNOME__linux-8/workDir/api/java_awt/Panel/AccessibleAWTPanel/serial/index_Input.jtr
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b41/jck15/sparc/Solaris_10_sparc_GNOME__linux-8/workDir/api/java_awt/PopupMenu/AccessibleAWTPopupMenu/serial/index_Input.jtr
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b41/jck15/sparc/Solaris_10_sparc_GNOME__linux-8/workDir/api/java_awt/ScrollPane/AccessibleAWTScrollPane/serial/index_Input.jtr
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b41/jck15/sparc/Solaris_10_sparc_GNOME__linux-8/workDir/api/java_awt/Scrollbar/AccessibleAWTScrollBar/serial/index_Input.jtr
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b41/jck15/sparc/Solaris_10_sparc_GNOME__linux-8/workDir/api/java_awt/TextArea/AccessibleAWTTextArea/serial/index_Input.jtr
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b41/jck15/sparc/Solaris_10_sparc_GNOME__linux-8/workDir/api/java_awt/TextComponent/AccessibleAWTTextComponent/serial/index_Input.jtr
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b41/jck15/sparc/Solaris_10_sparc_GNOME__linux-8/workDir/api/java_awt/TextField/AccessibleAWTTextField/serial/index_Input.jtr
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b41/jck15/sparc/Solaris_10_sparc_GNOME__linux-8/workDir/api/java_awt/Window/AccessibleAWTWindow/serial/index_Input.jtr
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b41/jck15/sparc/Solaris_10_sparc_GNOME__linux-8/workDir/api/java_awt/serialization/descriptions_Component.jtr
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b41/jck15/sparc/Solaris_10_sparc_GNOME__linux-8/workDir/api/java_awt/serialization/descriptions_Container.jtr
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b41/jck15/sparc/Solaris_10_sparc_GNOME__linux-8/workDir/api/java_awt/serialization/descriptions_ScrollPane.jtr
How to reproduce:
=================
Run the following script (you may need to change its variables)
--- script start ---
#!/bin/sh
#Paths in Java Software:
JDK="/java/re/jdk/1.5.0/promoted/all/b41/binaries/solaris-sparc"
JCK="/java/re/jck/1.5/promoted/beta/b14/binaries/JCK-runtime-15"
#Alternative paths outside Java Software
#JDK="/net/koori.sfbay/onestop/jdk/1.5.0/promoted/all/b41/binaries/solaris-sparc"
#JCK="/net/koori.sfbay/onestop/jck/1.5/promoted/beta/b14/binaries/JCK-runtime-15"
#Alternative paths for the NSK site:
#JCK="/net/linux-15/export/home/java/jck1.5/JCK-runtime-15"
#JDK="/net/linux-15/export/home/java/jdk1.5.0/sparc"
export CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"
TEST="javasoft.sqe.tests.api.java.awt.Button.AccessibleAWTButton.serial.InputTests -TestCaseID serial2002"
echo `cat $JCK/build.txt | grep JCK_VERSION` `cat $JCK/build.txt | grep JCK_BUILD`
$JDK/bin/java -showversion $TEST
--- script end ---
Test output:
============
JCK_VERSION=1.5 JCK_BUILD_ID=b14
java version "1.5.0-beta2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta2-b41)
Java HotSpot(TM) Client VM (build 1.5.0-beta2-b41, mixed mode)
serial2002: Failed. FAILED
Checking for JDK Version : 1.3
Creating StreamObject from spec
Setting the value of serial fields
Converting the StreamObject to Object
I/O error. Got exception:
java.io.InvalidClassException: java.awt.Button$AccessibleAWTButton; local class incompatible: stream classdesc serialVersionUID = -5932203980244017102, local class serialVersionUID = 2056422606833450967
at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:519)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1543)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1457)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1690)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1296)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
at javasoft.sqe.serial.util.Convert.readObjectFromByteArray(Convert.java:120)
at javasoft.sqe.serial.util.Convert.streamObjectToObject(Convert.java:53)
at javasoft.sqe.tests.api.java.awt.Button.AccessibleAWTButton.serial.InputTests.serial2002(InputTests.java:109)
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:495)
at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:399)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:127)
at javasoft.sqe.tests.api.java.awt.Button.AccessibleAWTButton.serial.InputTests.main(InputTests.java:33)
Checking for JDK Version : 1.4
Creating StreamObject from spec
Setting the value of serial fields
Converting the StreamObject to Object
I/O error. Got exception:
java.io.InvalidClassException: java.awt.Button$AccessibleAWTButton; local class incompatible: stream classdesc serialVersionUID = -5932203980244017102, local class serialVersionUID = 2056422606833450967
...
I/O error. Got exception:
java.io.InvalidClassException: java.awt.Button$AccessibleAWTButton; local class incompatible: stream classdesc serialVersionUID = -5932203980244017102, local class serialVersionUID = 2056422606833450967
at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:519)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1543)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1457)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1690)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1296)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
at javasoft.sqe.serial.util.Convert.readObjectFromByteArray(Convert.java:120)
at javasoft.sqe.serial.util.Convert.streamObjectToObject(Convert.java:53)
at javasoft.sqe.tests.api.java.awt.Button.AccessibleAWTButton.serial.InputTests.serial2002(InputTests.java:109)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces