< prev index next >

test/runtime/CommandLine/ObsoleteFlagErrorMessage.java

Print this page

        

*** 24,37 **** /* * @test * @bug 8060449 8073989 * @summary Newly obsolete command line options should still give useful error messages when used improperly. * @modules java.base/jdk.internal.misc ! * @library /testlibrary */ ! import jdk.test.lib.*; public class ObsoleteFlagErrorMessage { public static void main(String[] args) throws Exception { // Case 1: Newly obsolete flags with extra junk appended should not be treated as newly obsolete (8060449) --- 24,38 ---- /* * @test * @bug 8060449 8073989 * @summary Newly obsolete command line options should still give useful error messages when used improperly. * @modules java.base/jdk.internal.misc ! * @library /test/lib */ ! import jdk.test.lib.process.ProcessTools; ! import jdk.test.lib.process.OutputAnalyzer; public class ObsoleteFlagErrorMessage { public static void main(String[] args) throws Exception { // Case 1: Newly obsolete flags with extra junk appended should not be treated as newly obsolete (8060449)
< prev index next >