Tom Tromey wrote:
This updates QName to be Serializable as required by 1.5.
As part of this, I changed the qName field to be computed lazily, so
that it would work properly with serialization without requiring a
readObject method.
Any comments? Is this ok? This isn't really my area so I didn't want
to simply commit this change.
That's OK, as long as hashCode and qName are only computed once as
you're doing. QNames are often used repeatedly in transformation and
XPath processing and need to be implemented efficiently.
--
Chris Burdess
"They that can give up essential liberty to obtain a little safety
deserve neither liberty nor safety." - Benjamin Franklin
_______________________________________________
Classpath-patches mailing list
Classpath-patches@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath-patches