< prev index next >

test/java/rmi/server/RMIClassLoader/useCodebaseOnly/UseCodebaseOnly.java

Print this page

        

@@ -29,10 +29,14 @@
  * from the annotated codebase, but only from the codebase specified in the
  * "java.rmi.server.codebase" property and the context class loader.
  * @author Peter Jones
  *
  * @library ../../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ *          java.rmi/sun.rmi.server
+ *          java.rmi/sun.rmi.transport
+ *          java.rmi/sun.rmi.transport.tcp
  * @build TestLibrary Receiver UseCodebaseOnly_Stub Foo Bar
  * @run main/othervm/policy=security.policy UseCodebaseOnly
  */
 
 import java.net.*;
< prev index next >