Solaris only.
On a client, invoke an RMI call to the server. Then, before
the server can respond, shut down the client. If the server
is running on hotspot, this causes the server to shut down. If
the server is running on classic, it continues running.
The reproducible test case is in ~mrm/hotspot/bugs/boothy. The set
of files you need are in test_tiny.zip or you can run the client
and server from there.
To reproduce,
% setenv CLASSPATH `pwd`
% rmiregistry &
% java rmi_test.RMITest & //invoke the client
% java rmi_test.RMITestServer & //invoke the server
Then, resize the client window so you can read what is written to
the text area in the middle.
Press First button. Press Second button.. Press Third button.
Press "Die" button.
When the server is invoked with hotspot, it also shuts down in
about ten seconds.
If the server is invoked with -classic it does not shut down. You'll
notice it does print out the message "done sending data" but it
lives on. When the server is invoked with hotspot, as soon as
it sends the data, it shuts down. (so it seems.)