OK, thanks.
Unfortunately I don't think the "static int run()" technique can be applied to
rmiregistry and rmid, since a significant part of testing them -- apart from
their usage messages :-) -- involves operating within a fairly strict security
policy. But it's good to keep this in mind.
s
Thumbs up.
FYI - jdeps follows the langtools convention to define a static int
run(String... args) method that doesn't exit but instead returns the
error exit code (whereas the main method will exit with an error code)
so that the test can test the tool with different options in the same VM
a
Hi all,
There are a couple of RMI tests that do nothing except check the usage message
emitted by the 'rmiregistry' and 'rmid' commands when given invalid command-line
options. Since two bugs have occurred in these tests, I have determined that the
overhead of maintaining these tests outweighs