diff -r 514bf0744294 -r ed82623d7831 hotspot/test/runtime/CommandLine/VMOptionWarning.java --- a/hotspot/test/runtime/CommandLine/VMOptionWarning.java Fri Aug 19 01:20:39 2016 -0400 +++ b/hotspot/test/runtime/CommandLine/VMOptionWarning.java Fri Aug 19 10:06:30 2016 -0400 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -25,12 +25,14 @@ * @test * @bug 8027314 * @summary Warn if diagnostic or experimental vm option is used and -XX:+UnlockDiagnosticVMOptions or -XX:+UnlockExperimentalVMOptions, respectively, isn't specified. Warn if develop or notproduct vm option is used with product version of VM. - * @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; +import jdk.test.lib.Platform; public class VMOptionWarning { public static void main(String[] args) throws Exception {