test/java/rmi/Naming/DefaultRegistryPort.java
Print this page
*** 26,36 ****
* @bug 4251878
* @summary change in default URL port causes regression in java.rmi.Naming
* @author Dana Burns
* @library ../testlibrary
* @build TestLibrary
! * @run main DefaultRegistryPort
*/
/*
* Ensure that the default registry port for java.rmi.Naming URLs
* is 1099. Test creates a registry on port 1099 and then does a
--- 26,36 ----
* @bug 4251878
* @summary change in default URL port causes regression in java.rmi.Naming
* @author Dana Burns
* @library ../testlibrary
* @build TestLibrary
! * @run main/othervm DefaultRegistryPort
*/
/*
* Ensure that the default registry port for java.rmi.Naming URLs
* is 1099. Test creates a registry on port 1099 and then does a