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

REGRESSION:javax.xml.namespace.QName changed its serialVersionUID

XMLWordPrintable

    • 42
    • b36
    • sparc
    • solaris_2.6
    • Verified

        Name: ygR10224 Date: 12/24/2003


        Filed By : SPB JCK team (###@###.###)
        JDK : java full version "1.5.0-beta-b32"
        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/javax_xml/namespace/QName/serial/index.html#Input[serial2006,serial2007]


        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 javax.xml.namespace.QName
        has been changed in JDK1.5.0-beta-b32, so Serialized Form of
        this class changed incompatibly:

        <gyi@helmet> /set/jdk-builds/JDK1.5.0b31/solaris-sparc/bin/serialver javax.xml.namespace.QName
        javax.xml.namespace.QName: static final long serialVersionUID = -1549026397630773617L;

        <gyi@helmet> /set/jdk-builds/JDK1.5.0b32/solaris-sparc/bin/serialver javax.xml.namespace.QName
        javax.xml.namespace.QName: static final long serialVersionUID = 4418622981026545151L;



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

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

              jsuttorsunw Jeff Suttor (Inactive)
              gyisunw Gyi Gyi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: