[kaffe] [Fwd: Kaffe Bug RMI]

Hervé Roussain Herve.Roussain at univ-ubs.fr
Tue Aug 19 08:05:03 PDT 2003


On Tue, 2003-08-19 at 15:39, Dalibor Topic wrote:
> Salut Herve, salut Nicolas,
Hallo Dalibor,

> sorry for letting you wait so long, without a reply.
It let me time to write an all-in-one test case (it launches a local
registry, a server, a client and then dies).
To use it:
  javac RMITest.java
  rmic SimpleRMIServerImpl
  java RMITest

Note that I don't always have kaffe's bin directory in my PATH variable.
So I noticed that in a such case, rmic can't find kjc. This is why I
attach a patch to rmic.in that modify the PATH variable before running
rmic.

If you prefer a test suite with separated client & server, have a look
at:
http://www.kaffe.org/pipermail/kaffe/2003-April/041775.html

I think the suite may be more useful to debug RMI, and the "all-in-one"
program will be useful in test/regression when everything will work.


Cheers,
Hervé
-------------- next part --------------
A non-text attachment was scrubbed...
Name: RMITest.java
Type: text/x-java
Size: 2150 bytes
Desc: not available
Url : http://kaffe.org/pipermail/kaffe/attachments/20030819/79dee268/attachment-0002.java 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rmic.in.diff
Type: text/x-patch
Size: 227 bytes
Desc: not available
Url : http://kaffe.org/pipermail/kaffe/attachments/20030819/79dee268/attachment-0002.bin 


More information about the kaffe mailing list