< prev index next >

test/runtime/CommandLine/OptionsValidation/TestJcmdOutput.java

Print this page

        

@@ -25,10 +25,13 @@
  * @test
  * @summary Verify jcmd error message for out-of-range value and for
  *          value which is not allowed by constraint. Also check that
  *          jcmd does not print an error message to the target process output.
  * @library /testlibrary
+ * @modules java.base/sun.misc
+ *          java.management
+ *          jdk.management
  * @run main TestJcmdOutput
  */
 
 import jdk.test.lib.Asserts;
 import jdk.test.lib.DynamicVMOption;
< prev index next >