[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RMI serialVersioinUID problem
From: |
Michael Haupt |
Subject: |
RMI serialVersioinUID problem |
Date: |
Fri, 18 Jun 2004 11:16:18 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 |
Hi,
as for versions, I'm using GNU classpath 0.07 on a Jikes RVM 2.3.1.
The Jikes RVM runs an in-process RMI server (no external rmiregistry
process), and the RMI client runs on Sun's HotSpot 1.4.2_01. The client
invokes a method xyz(MyContainer a, MyContainer b), where MyContainer is
a class with some String members.
The problem is that Jikes won't accept the parameters; it keeps
complaining about incompatible classes like this:
<< Local class not compatible: stream
serialVersionUID=-8304817736476104138, local
serialVersionUID=5146507109805202919 >>
This keeps happening, even if I explicitly set a "private static final
long serialVersionUID" in the MyContainer class. (Jikes doesn't seem to
recognise the custom serialVersionUID.)
Has anybody a hint for me? Am I doing something wrong? Is it a Jikes RVM
issue? (I believe it has something to do with Classpath's RMI
implementation.)
Thanks in advance,
Michael Haupt
--
Dipl.-Ing. Michael Haupt address@hidden
Software Technology Group Phone: ++49 (0) 6151-16-5306
Darmstadt University of Technology Fax: ++49 (0) 6151-16-5410
Hochschulstr. 10, 64283 Darmstadt, Germany
http://www.st.informatik.tu-darmstadt.de/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- RMI serialVersioinUID problem,
Michael Haupt <=