test/java/rmi/Naming/LookupNameWithColon.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,11 +26,11 @@
  * @summary Ensure that java.rmi.Naming.lookup functions properly for names
  *          containing embedded ':' characters.
  *
  * @library ../testlibrary
  * @build TestLibrary
- * @run main LookupNameWithColon
+ * @run main/othervm LookupNameWithColon
  */
 
 import java.rmi.Naming;
 import java.rmi.registry.Registry;