-
Bug
-
Resolution: Not an Issue
-
P2
-
None
-
1.4.0
-
x86
-
linux, windows_95
Name: asR10013 Date: 02/15/2001
Bug description ---> Convert.streamObjectToObject does not work correctly
****************************************************************************
Failing Test:
=============
JCK :
=====
JCK1.3a
Test source location:
====================
/net/jdk/export/disk8/local.java/jck1.3a/JCK-runtime-13a/tests/ ...
Platforms:
=============
RedHat Linux 6.2
Windows 95
JDK, switches Info:
===================
jre1.4.0beta-b51 -client -Xmixed
jtr file location:
==================
How to reproduce:
====================
Test output:
=============
Checking for JDK Version : 1.2
Creating StreamObject from spec
Converting the StreamObject to Object
I/O error. Got exception:
java.io.InvalidClassException: org.omg.CosNaming.NamingContextPackage.NotEmpty; local class incompatible: stream classdesc serialVersionUID = 6792877765788042934, local class serialVersionUID = 7120362687417045881
at java.io.ObjectStreamClass.validateClass(ObjectStreamClass.java:399)
at java.io.ObjectStreamClass.initNonProxyDesc(ObjectStreamClass.java:306)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1385)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1300)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1501)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1164)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:283)
at javasoft.sqe.serial.util.Convert.streamObjectToObject(Convert.java:60)
at javasoft.sqe.tests.api.org.omg.CosNaming.NamingContextPackage.NotEmpty.serial.InputTests.serial2002(InputTests.java:77)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:30)
at sun.reflect.InflatableMethodAccessorImpl.invoke(InflatableMethodAccessorImpl.java:46)
at java.lang.reflect.Method.invoke(Method.java:306)
at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:409)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:205)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:137)
at javasoft.sqe.tests.api.org.omg.CosNaming.NamingContextPackage.NotEmpty.serial.InputTests.main(InputTests.java:42)
.... Creating StreamObject from spec
Specific Machine Info:
=====================
Additional JCK related info:
============================
URL to find JCK test owners: http://javaweb.eng/jck/usr/owners.jto
======================================================================
- relates to
-
JDK-4404696 java.io.ObjectInputStream.readObject() no longer suport dots in field's types
- Closed
-
JDK-4421121 lack of serialVersionUID in org.omg.* classes causes JCK test failures
- Closed