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

Regression test/java/text/Format/DateFormatSymbolsSerializationTest.java failing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.4.0
    • core-libs
    • sparc
    • solaris_7

      Regression test/java/text/Format/DateFormatSymbolsSerializationTest.java failed with jdk1.4 beta b43 on Solaris SPARC 2.7 in ar locale.

      Below is a part of a message:


      ----------System.err:(0/0)----------
      result: Passed. Compilation successful

      #section:main
      ----------messages:(3/167)----------
      command: main DateFormatSymbolsSerializationTest
      reason: Assumed action based on file name: run main DateFormatSymbolsSerializationTest
      elapsed time (seconds): 1.854
      ----------System.out:(0/0)----------
      ----------System.err:(18/1520)----------
      java.io.InvalidClassException: java.text.SimpleDateFormat; Local class not compatible: stream classdesc serialVersionUID=4774881970558875024 local class serialVersionUID=7116030881577564500
              at java.io.ObjectStreamClass.validateLocalClass(ObjectStreamClass.java:523)
              at java.io.ObjectStreamClass.setClass(ObjectStreamClass.java:567)
              at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java:936)
              at java.io.ObjectInputStream.readObject(ObjectInputStream.java:366)
              at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
              at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1186)
              at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
              at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
              at DateFormatSymbolsSerializationTest.main(DateFormatSymbolsSerializationTest.java:50)
              at java.lang.reflect.Method.invoke(Native Method)
              at javasoft.sqe.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
              at java.lang.Thread.run(Thread.java:565)

      JavaTest Message: Test threw exception: java.io.InvalidClassException: java.text.SimpleDateFormat; Local class not compatible: stream classdesc serialVersionUID=4774881970558875024 local class serialVersionUID=7116030881577564500
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.io.InvalidClassException: java.text.SimpleDateFormat; Local class not compatible: stream classdesc serialVersionUID=4774881970558875024 local class serialVersionUID=7116030881577564500
      result: Failed. Execution failed: `main' threw exception: java.io.InvalidClassException: java.text.SimpleDateFormat; Local class not compatible: stream classdesc serialVersionUID=4774881970558875024 local class serialVersionUID=7116030881577564500


      The test failed on Solaris SPARC in C locale, too.


      keiko.nakayama@Eng 2000-12-07

            peytoia Yuka Kamiya (Inactive)
            knakayamsunw Keiko Nakayama (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: