test/java/rmi/MarshalledObject/compare/Compare.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>

@@ -27,11 +27,11 @@
  * @summary Codebase annotations on classes that are marshalled should not
  *          affect the behavior of MarshalledObject.equals.  Only the bytes
  *          not involved in location should be compared.
  * @author Ken Arnold
  *
- * @run main Compare 11 annotatedRef
+ * @run main/othervm Compare 11 annotatedRef
  */
 
 import java.rmi.MarshalledObject;
 import java.io.*;