-
Bug
-
Resolution: Fixed
-
P3
-
5.0
-
1.3
-
sparc
-
solaris_2.6
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2078041 | 5.0 | Jeff Suttor | P3 | Closed | Fixed | b32 |
Name: ygR10224 Date: 12/08/2003
Filed By : SPB JCK team (###@###.###)
JDK : java full version "1.5.0-beta-b30"
JCK : 1.5
Platform[s] : Solaris
switch/Mode :
JCK test owner : http://javaweb.eng/jct/sqe/JCK-tck/usr/owners.jto
Failing Test [s] :
api/org_w3c/dom/DOMException/serial/index.html#Input[serial2005,serial2006]
Problem description
===================
The serialVersionUID of class org.w3c.dom.DOMException changed
in 1.5.0-beta-b30:
<gyi@archer> /set/java/jdk1.4.2/solaris/bin/serialver org.w3c.dom.DOMException
org.w3c.dom.DOMException: static final long serialVersionUID = 6627732366795969916L;
<gyi@archer> /set/jdk-builds/JDK1.5.0b29/solaris-sparc/bin/serialver org.w3c.dom.DOMException
org.w3c.dom.DOMException: static final long serialVersionUID = 6627732366795969916L;
<gyi@archer> java -version
java version "1.5.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b30)
Java HotSpot(TM) Client VM (build 1.5.0-beta-b30, mixed mode)
<gyi@archer> /set/java/jdk1.5.0/solaris/bin/serialver org.w3c.dom.DOMException
org.w3c.dom.DOMException: static final long serialVersionUID = -3883659305141610252L;
JCK test source location:
==========================
/java/re/jck/1.5/promoted/latest/JCK-runtime-15/tests
Test output:
=============
----------ref:(131/9100)----------
Executing command via archer,port=37681,localport=52741
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: org.w3c.dom.DOMException; local class incompatible: stream classdesc serialVersionUID = 6627732366795969916, local class serialVersionUID = -3883659305141610252
at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:522)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1543)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1457)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1693)
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.org.w3c.dom.DOMException.serial.InputTests.serial2005(InputTests.java:84)
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:489)
at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:399)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
at com.sun.jck.lib.ExecJCKTestSameJVMCmd$Version2Test.execute(ExecJCKTestSameJVMCmd.java:372)
at com.sun.jck.lib.ExecJCKTestSameJVMCmd$StandardTest.run(ExecJCKTestSameJVMCmd.java:317)
at com.sun.jck.lib.ExecJCKTestSameJVMCmd.execute(ExecJCKTestSameJVMCmd.java:194)
at com.sun.jck.lib.ExecJCKTestSameJVMCmd.run(ExecJCKTestSameJVMCmd.java:125)
at com.sun.javatest.agent.Agent$Task.executeCommand(Agent.java:818)
at com.sun.javatest.agent.Agent$Task.execute(Agent.java:749)
at com.sun.javatest.agent.Agent$Task.handleRequest(Agent.java:607)
at com.sun.javatest.agent.Agent.handleRequestsUntilClosed(Agent.java:376)
at com.sun.javatest.agent.Agent.access$000(Agent.java:42)
at com.sun.javatest.agent.Agent$1.run(Agent.java:254)
at java.lang.Thread.run(Thread.java:565)
======================================================================
Filed By : SPB JCK team (###@###.###)
JDK : java full version "1.5.0-beta-b30"
JCK : 1.5
Platform[s] : Solaris
switch/Mode :
JCK test owner : http://javaweb.eng/jct/sqe/JCK-tck/usr/owners.jto
Failing Test [s] :
api/org_w3c/dom/DOMException/serial/index.html#Input[serial2005,serial2006]
Problem description
===================
The serialVersionUID of class org.w3c.dom.DOMException changed
in 1.5.0-beta-b30:
<gyi@archer> /set/java/jdk1.4.2/solaris/bin/serialver org.w3c.dom.DOMException
org.w3c.dom.DOMException: static final long serialVersionUID = 6627732366795969916L;
<gyi@archer> /set/jdk-builds/JDK1.5.0b29/solaris-sparc/bin/serialver org.w3c.dom.DOMException
org.w3c.dom.DOMException: static final long serialVersionUID = 6627732366795969916L;
<gyi@archer> java -version
java version "1.5.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b30)
Java HotSpot(TM) Client VM (build 1.5.0-beta-b30, mixed mode)
<gyi@archer> /set/java/jdk1.5.0/solaris/bin/serialver org.w3c.dom.DOMException
org.w3c.dom.DOMException: static final long serialVersionUID = -3883659305141610252L;
JCK test source location:
==========================
/java/re/jck/1.5/promoted/latest/JCK-runtime-15/tests
Test output:
=============
----------ref:(131/9100)----------
Executing command via archer,port=37681,localport=52741
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: org.w3c.dom.DOMException; local class incompatible: stream classdesc serialVersionUID = 6627732366795969916, local class serialVersionUID = -3883659305141610252
at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:522)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1543)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1457)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1693)
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.org.w3c.dom.DOMException.serial.InputTests.serial2005(InputTests.java:84)
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:489)
at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:399)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
at com.sun.jck.lib.ExecJCKTestSameJVMCmd$Version2Test.execute(ExecJCKTestSameJVMCmd.java:372)
at com.sun.jck.lib.ExecJCKTestSameJVMCmd$StandardTest.run(ExecJCKTestSameJVMCmd.java:317)
at com.sun.jck.lib.ExecJCKTestSameJVMCmd.execute(ExecJCKTestSameJVMCmd.java:194)
at com.sun.jck.lib.ExecJCKTestSameJVMCmd.run(ExecJCKTestSameJVMCmd.java:125)
at com.sun.javatest.agent.Agent$Task.executeCommand(Agent.java:818)
at com.sun.javatest.agent.Agent$Task.execute(Agent.java:749)
at com.sun.javatest.agent.Agent$Task.handleRequest(Agent.java:607)
at com.sun.javatest.agent.Agent.handleRequestsUntilClosed(Agent.java:376)
at com.sun.javatest.agent.Agent.access$000(Agent.java:42)
at com.sun.javatest.agent.Agent$1.run(Agent.java:254)
at java.lang.Thread.run(Thread.java:565)
======================================================================
- backported by
-
JDK-2078041 REGRESSION:org.w3c.dom.DOMException changed its serialVersionUID
-
- Closed
-
- relates to
-
JDK-4912586 REGRESSION:org_w3c/org_xml exceptions changed their serialVersionUID's
-
- Closed
-