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

REGRESSION:java.awt.HeadlessException changed its serialVersionUID

XMLWordPrintable

    • sparc
    • solaris_2.6



      Name: ygR10224 Date: 03/23/2004


      Filed By : SPB JCK team (###@###.###)
      JDK : java full version "1.5.0-beta2-b43"
      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/java_awt/HeadlessException/serial/index.html#Input

      Specification excerpt:
      ======================
      --------- J2SE API spec v.1.5 ---------
      ...
      >From JOSS, ch. 4.6 "Stream Unique Identifiers":
      The stream-unique identifier is a 64-bit hash of the class name, interface
      class names, methods, and fields. The value must be declared in all versions
      of a class except the first. It may be declared in the original class but
      is
      not required. The value is fixed for all compatible classes.

      ...
      ---------- end-of-excerpt ---------------

      Problem description
      ===================
      The serialVersionUID of java.awt.HeadlessException
      has been changed in JDK1.5.0-beta2-b43, so Serialized Form of
      this class has been changed incompatibly:

      <gyi@orion> /set/java/jdk1.4.2/solaris/bin/serialver java.awt.HeadlessException
      java.awt.HeadlessException: static final long serialVersionUID = 167183644944358563L;

      <gyi@orion> /net/orion/export/JDK1.5.0b42/solaris-sparc/bin/serialver java.awt.HeadlessException
      java.awt.HeadlessException: static final long serialVersionUID = 167183644944358563L;

      <gyi@orion> /net/orion/export/JDK1.5.0b43/solaris-sparc/bin/serialver java.awt.HeadlessException
      java.awt.HeadlessException: static final long serialVersionUID = -4399492591008105442L;


      JCK test source location:
      ==========================
      /java/re/jck/1.5/promoted/latest/JCK-runtime-15/tests

      ======================================================================

            son Oleg Sukhodolsky (Inactive)
            gyisunw Gyi Gyi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: