test/java/rmi/activation/Activatable/checkRegisterInLog/CheckRegisterInLog.java
Print this page
*** 29,38 ****
--- 29,39 ----
* @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
* ActivateMe CheckRegisterInLog_Stub
* @run main/othervm/policy=security.policy/timeout=240 CheckRegisterInLog
*/
*** 97,107 ****
/*
* Start up activation system daemon "rmid".
*/
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
*/
--- 98,108 ----
/*
* Start up activation system daemon "rmid".
*/
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
*/