Re: array serialization problem

Etienne Gagnon <[email protected]> Sat, 15 Oct 2005 22:25:56 -0400
Newsgroups gmane.comp.java.vm.sablevm.devel
Message-ID <[email protected]>
Hmmm... This is actually an interesting case.  I actually have no idea
how the serialVersionUID is computed on SableVM.  This is all done in
the class library code [GNU Classpath], as far as I can tell.

Maybe you could use the debugger [Eclipse + debugging SableVM] to go and
check that code.

http://sablevm.org/wiki/Debug

Etienne


Kevin Eustice wrote:
> Hi,
> 
> I'm having substantial trouble getting SableVM to talk to a Sun JVM
> (5.0). SableVM seems to disagree with regards to the serialVersionUID
> of arrays of primitives. Both VMs are running under Linux x86. Any suggestions?
> 
> Here is the output of serialver under both VMs.
> 
> 
> kfe@yeager:~ $ /usr/lib/j2sdk1.5-sun/bin/serialver "[B"
> [B:    static final long serialVersionUID = -5984413125824719648L;
> kfe@yeager:~ $ /usr/local/lib/sablevm/bin/serialver "[B"
> [B: static final long serialVersionUID = -4468275918465035186L;
> kfe@yeager:~ $ /usr/lib/j2sdk1.5-sun/bin/serialver "[S"
> [S:    static final long serialVersionUID = -1188055269542874886L;
> kfe@yeager:~ $ /usr/local/lib/sablevm/bin/serialver "[S"
> [S: static final long serialVersionUID = -4225998570419428165L;
> 

-- 
Etienne M. Gagnon, Ph.D.            http://www.info2.uqam.ca/~egagnon/
SableVM:                                       http://www.sablevm.org/
SableCC:                                       http://www.sablecc.org/

_______________________________________________
SableVM-devel mailing list
[email protected]
http://sablevm.org/lists/control/listinfo/sablevm-devel
signature.asc (application/pgp-signature, 256 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDUbo0jyrJi4rH84gRAoUEAJ99EsZPWPmwusoslHK+5doZ4Z7k+gCdGEBp
auldkJGtjuXxvBgSxchPX8w=
=asDy
-----END PGP SIGNATURE-----