test/java/rmi/activation/Activatable/downloadParameterClass/DownloadParameterClass.java
Print this page
*** 33,42 ****
--- 33,43 ----
* @library ../../../testlibrary
* @modules java.rmi/sun.rmi.registry
* java.rmi/sun.rmi.server
* java.rmi/sun.rmi.transport
* java.rmi/sun.rmi.transport.tcp
+ * java.base/sun.nio.ch
* @build TestLibrary RMID ActivationLibrary
* Foo FooReceiverImpl FooReceiverImpl_Stub Bar
* @run main/othervm/policy=security.policy/timeout=240 DownloadParameterClass
*/
*** 88,98 ****
RMID rmid = null;
try {
RMID.removeLog();
! rmid = RMID.createRMID();
rmid.start();
/* Cause activation groups to have a security policy that will
* allow security managers to be downloaded and installed
*/
--- 89,99 ----
RMID rmid = null;
try {
RMID.removeLog();
! rmid = RMID.createRMIDOnEphemeralPort();
rmid.start();
/* Cause activation groups to have a security policy that will
* allow security managers to be downloaded and installed
*/