You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xml-commons-dev@xerces.apache.org by bu...@apache.org on 2006/01/12 05:08:31 UTC

DO NOT REPLY [Bug 37267] - serialVersion UID incorrect in javax.xml.namespace.QName

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37267>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37267


nbeyer@kc.rr.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nbeyer@kc.rr.com




------- Additional Comments From nbeyer@kc.rr.com  2006-01-12 05:08 -------
Can this really be changed now? I did some investigating and here's what I've found.

The QName in JAX-RPC 1.0 [1] didn't have an explicitly declared
serialVersionUID, nor did it have the prefix property. I'm guessing the value
posted in the original comment is the runtime calculated value. The QName that's
being packaged by Sun as part of the Java Web Services Developer Pack v1.6 [2]
has the serialVersionUID of 4418622981026545151. The QName that's being packaged
by Sun in the J2EE 1.4 SDK with the Sun Java Application Server [3] doesn't
explicitly declare a serialVersionUID, but does have a prefix property. This
should then change the generated ID, correct? The QName that's being packaged
with Geronimo [4] is similar to this one; no ID, but has a prefix field. The
QName that's being packaged in Sun's Java SE 5 SDK [5] and BEA's Java SE 5 SDK
[6] have the serialVersionUID of 4418622981026545151. I would assume other Java
SE 5 SDK distributions have the same values.

I understand there's a need for passivity here, but I this point I'd say the cat
is out of the bag and the ID of 4418622981026545151 has become the defacto
"correct" version, especially since it's part of the Java SE 5 Javadoc [5].


[1] http://java.sun.com/xml/downloads/javaxmlpack.html
[2] http://java.sun.com/webservices/downloads/webservicespack.html
[3] http://java.sun.com/j2ee/1.4/download.html
[4]
http://svn.apache.org/viewcvs.cgi/geronimo/specs/trunk/geronimo-spec-qname/src/java/javax/xml/namespace/QName.java?view=markup
[5]
http://java.sun.com/j2se/1.5.0/docs/api/serialized-form.html#javax.xml.namespace.QName
[6] http://edocs.bea.com/wljrockit/docs50/index.html

Besides the Java SE 5 Javadoc, I got the rest of the information by looking at
the class files.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.