From: Meskauskas Audrius <audriusa@bluewin.ch>
To: mauve-discuss@sources.redhat.com
Subject: Re: tests with rmic
Date: Tue, 18 Oct 2005 18:10:00 -0000 [thread overview]
Message-ID: <43553A78.7040400@bluewin.ch> (raw)
In-Reply-To: <4354E0C3.1000108@menlina.com>
>I can't use threads in a same virtual machine, because there is no
serialization of objects in RMI when the server and the client lives in
the same virtual machine (maybe it's possible enabling a flag somewhere,
but i don't know the API)
I looked at our gnu.java.rmi.server.UnicastRef and - yes, unfortunately
it seems that there is system property in Classpath that would force the
object serialization even if the RMI client and server are in the same
machine.
If you plan serious testing work, we should probably add such property
as a necessary testing tool, but altering RMI implementation requires to
have a test suite first. I think, you can commit such tests anyway
because the object serialization is not the only thing in RMI that
deserves testing.
Audrius.
next prev parent reply other threads:[~2005-10-18 18:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-17 17:13 Nicolas Geoffray
2005-10-18 2:37 ` Chris Abbey
2005-10-18 8:41 ` tests with rmic! Meskauskas Audrius
2005-10-18 11:47 ` Nicolas Geoffray
2005-10-18 18:10 ` Meskauskas Audrius [this message]
2005-10-19 8:10 tests with rmic Nicolas Geoffray
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43553A78.7040400@bluewin.ch \
--to=audriusa@bluewin.ch \
--cc=mauve-discuss@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).