classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [japitools message] how to resolve 'SerialVersionUID'


From: Dalibor Topic
Subject: Re: [japitools message] how to resolve 'SerialVersionUID'
Date: Sun, 24 Aug 2003 20:28:03 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312

Arnaud Vandyck wrote:
Hi all,

if you  look at  japitools[1], there are  some minor problems  like this
one:

org.xml.sax
Minor: 3 classes.
Minor

    * class org.xml.sax.SAXException: SerialVersionUID=583241635256073760 in 
jdk14, but SerialVersionUID=-8251803752662179270 in classpat
    * class org.xml.sax.SAXNotRecognizedException: 
SerialVersionUID=5440506620509557213 in jdk14, but 
SerialVersionUID=1398555601346822626 in classpath
    * class org.xml.sax.SAXNotSupportedException: 
SerialVersionUID=-1422818934641823846 in jdk14, but 
SerialVersionUID=-7373565723188945450 in classpath

Can someone tell me how to solve this problems if they can be solved?

Add a private final long field SerialVersionUID to the class. Take a look at class documentation to see what it looks like in serialized form.

http://java.sun.com/j2se/1.4.2/docs/api/serialized-form.html#org.xml.sax.SAXException

See also http://www-124.ibm.com/pipermail/jikes/2001-November/002356.html

cheers,
dalibor topic





reply via email to

[Prev in Thread] Current Thread [Next in Thread]