test/java/rmi/Naming/legalRegistryNames/LegalRegistryNames.java

Print this page
rev 9077 : 8031179: update RMI tests to declare othervm explicitly
Summary: The /othervm declaration should be added to all the RMI tests and the RMI directories removed from the othervm.dirs property
Reviewed-by: smarks
Contributed-by: Eric Wang <yiming.wang@oracle.com>

*** 26,36 **** * @bug 4254808 * @summary Naming assumes '/' is present in relative URL; change in URL causes regression * @author Dana Burns * @library ../../testlibrary * @build TestLibrary Legal LegalRegistryNames_Stub ! * @run main LegalRegistryNames */ import java.net.InetAddress; import java.net.UnknownHostException; import java.rmi.Naming; --- 26,36 ---- * @bug 4254808 * @summary Naming assumes '/' is present in relative URL; change in URL causes regression * @author Dana Burns * @library ../../testlibrary * @build TestLibrary Legal LegalRegistryNames_Stub ! * @run main/othervm LegalRegistryNames */ import java.net.InetAddress; import java.net.UnknownHostException; import java.rmi.Naming;