Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4403555

api/java_io/Serialization/descriptions.html#ObjectStreamClass, Merlin, B46

    Details

      Description

      The following test failed on merlin build 46 and passed on build 44.

      Failing Test:
      =============

      api/java_io/Serialization/descriptions.html#ObjectStreamClass

      Test source location:
      =====================

      /net/jdk/export/disk8/local.java/jck1.3/JCK-runtime-13fcs/tests/api/java_io/Serialization/ObjectStreamClass.java

      Platforms:
      =============
      Failed on sparc 5.7 and on x86 5.6.
      Haven't checked on other OSs.

      JDK, switches Info:
      ===================
      jdk1.4.0/bin/java -version
      java version "1.4.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b46)
      Java HotSpot(TM) Client VM (build 1.4beta-B45, mixed mode)

      Failed for -client.

      jtr file location:
      ==================

      file:/net/jtg-s117/export/home/jtg-test/JH_jdk14_b46_jck13/workDir/api/java_io/Serialization/descriptions_ObjectStreamClass.jtr

      (The jtr file is also attached).

      How to reproduce:
      =================
      Run the attached script:

      1) SerilazationObjectStreamClass.ksh

      ERROR MESSAGE:
      ==============
      ----------log:(16/1395)----------
      java.io.InvalidClassException: local class java.io.ObjectStreamClassincompatible: stream classdesc serialVersionUID = -6120832682080437368, local class serialVersionUID = -6539648802376000715
              at java.io.ObjectStreamClass.validateClass(ObjectStreamClass.java:395)
              at java.io.ObjectStreamClass.initNonProxyDesc(ObjectStreamClass.java:302)
              at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1373)
              at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1288)
              at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1151)
              at java.io.ObjectInputStream.readObject(ObjectInputStream.java:283)
              at javasoft.sqe.jck.lib.SerializeTest.read(SerializeTest.java:385)
              at javasoft.sqe.jck.lib.SerializeTest.testRead(SerializeTest.java:280)
              at java.lang.reflect.Method.invoke(Native Method)
              at javasoft.sqe.jck.lib.MultiTest.runTests(MultiTest.java:139)
              at javasoft.sqe.jck.lib.MultiTest.run(MultiTest.java:101)
              at javasoft.sqe.tests.api.java.io.Serialization.ObjectStreamClassTests.main(ObjectStreamClassTests.java:122)
      testRead: Failed. Test case throws exception: java.io.InvalidClassException: local class java.io.ObjectStreamClassincompatible: stream classdesc serialVersionUID = -6120832682080437368, local class serialVersionUID = -6539648802376000715
      testWrite: Passed. OKAY
      STATUS:Failed. tests: 2; passed: 1; failed: 1; first test case failure: testRead
      result: Failed. tests: 2; passed: 1; failed: 1; first test case failure: testRead

      System Info:
      ============
      x86:
      ----
      jtg-i104% uname -a
      SunOS jtg-i104 5.6 Generic_105182-23 i86pc i386 i86pc
      jtg-i104% psrinfo -v
      Status of processor 0 as of: 01/10/01 11:07:09
        Processor has been on-line since 01/05/01 16:06:23.
        The i386 processor operates at 232 MHz,
              and has an i387 compatible floating point processor.
      Status of processor 1 as of: 01/10/01 11:07:09
        Processor has been on-line since 01/05/01 16:06:23.
        The i386 processor operates at 232 MHz,
              and has an i387 compatible floating point processor.

      SPARC:
      -------
      jtg-s117% uname -a
      SunOS jtg-s117 5.7 Generic_106541-12 sun4u sparc SUNW,Ultra-60
      jtg-s117% psrinfo -v
      Status of processor 0 as of: 12/21/00 16:16:07
        Processor has been on-line since 12/20/00 10:44:13.
        The sparcv9 processor operates at 296 MHz,
              and has a sparcv9 floating point processor.
      Status of processor 2 as of: 12/21/00 16:16:07
        Processor has been on-line since 12/20/00 10:44:14.
        The sparcv9 processor operates at 296 MHz,
              and has a sparcv9 floating point processor.


      Additional JCK related info:
      ============================
      URL to find JCK test owners: http://javaweb.eng/jck/usr/owners.jto


      srilakshmi.chappidi@Eng 2001-01-10

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mwarressunw Michael Warres (Inactive)
                Reporter:
                schappidsunw Srilakshmi Chappidi (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: