|
Christopher Turner wrote:
The same JVM is not really nessesary i think. It is more a compiler question that generates a bit different class then the other. And because of that the jvm is generating another serialver. i think the generation of the serialversion for the same class over multiply vm's is pretty equal: http://java.sun.com/j2se/1.4.2/docs/guide/serialization/spec/class.html The getSerialVersionUID method
returns the serialVersionUID of this class.
Refer to Section 4.6
"Stream Unique Identifiers.”
If not specified by the class, the value returned is a hash computed
from the class’s name, interfaces, methods, and fields using the Secure
Hash Algorithm (SHA) as defined by the National Institute of Standards.The problem is that the layout of the classs file must be the same and this does differ a lot what kind of javac/eclipse you use. johan |
Title: RE: [Wicket-develop] serialVersionID
- Re: [Wicket-develop] serialVersionID Jonathan Locke
- Re: [Wicket-develop] serialVersionI... Martijn Dashorst
- Re: [Wicket-develop] serialVers... Eelco Hillenius
- Re: [Wicket-develop] serialVers... Johan Compagner
- Re: [Wicket-develop] serialVers... Martijn Dashorst
- Re: [Wicket-develop] serialVers... Eelco Hillenius
- Re: [Wicket-develop] serialVersionID Jonathan Locke
- Re: [Wicket-develop] serialVersionID Jonathan Locke
- Re: [Wicket-develop] serialVersionI... Martijn Dashorst
- Re: [Wicket-develop] serialVersionI... Eelco Hillenius
- Re: [Wicket-develop] serialVersionID Johan Compagner
