< prev index next >
test/runtime/CommandLine/UnrecognizedVMOption.java
Print this page
@@ -23,16 +23,17 @@
/*
* @test
* @bug 8006298
* @summary Using an unrecognized VM option should print the name of the option
- * @library /testlibrary
+ * @library /test/lib
* @modules java.base/jdk.internal.misc
* java.management
*/
-import jdk.test.lib.*;
+import jdk.test.lib.process.ProcessTools;
+import jdk.test.lib.process.OutputAnalyzer;
public class UnrecognizedVMOption {
public static void main(String[] args) throws Exception {
ProcessBuilder pb = ProcessTools.createJavaProcessBuilder(
"-XX:bogus_option", "-version");
< prev index next >