< prev index next >

test/java/rmi/activation/Activatable/restartCrashedService/RestartCrashedService.java

Print this page

        

*** 20,31 **** * or visit www.oracle.com if you need additional information or have any * questions. */ /* @test ! * @bug 4095165 ! * @bug 4140736 * @summary synopsis: rmid should waitFor restartable objects that crash and restart them * @author Ann Wollrath * * @library ../../../testlibrary * @modules java.rmi/sun.rmi.registry --- 20,30 ---- * or visit www.oracle.com if you need additional information or have any * questions. */ /* @test ! * @bug 4095165 4140736 8085192 * @summary synopsis: rmid should waitFor restartable objects that crash and restart them * @author Ann Wollrath * * @library ../../../testlibrary * @modules java.rmi/sun.rmi.registry
*** 116,128 **** RMID rmid = null; RestartCrashedService unicastObj = 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 */ final Properties p = new Properties(); --- 115,125 ---- RMID rmid = null; RestartCrashedService unicastObj = null; try { ! rmid = RMID.launch(); /* Cause activation groups to have a security policy that will * allow security managers to be downloaded and installed */ final Properties p = new Properties();
< prev index next >