hotspot/test/runtime/CommandLine/ConfigFileParsing.java
changeset 40631 ed82623d7831
parent 36851 03e2f4d0a421
equal deleted inserted replaced
40629:514bf0744294 40631:ed82623d7831
     1 /*
     1 /*
     2  * Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    23 
    23 
    24 /*
    24 /*
    25  * @test ConfigFileParsing
    25  * @test ConfigFileParsing
    26  * @bug 7158804
    26  * @bug 7158804
    27  * @summary Improve config file parsing
    27  * @summary Improve config file parsing
    28  * @library /testlibrary
    28  * @library /test/lib
    29  * @modules java.base/jdk.internal.misc
    29  * @modules java.base/jdk.internal.misc
    30  *          java.management
    30  *          java.management
    31  */
    31  */
    32 
    32 
    33 import java.io.PrintWriter;
    33 import java.io.PrintWriter;
    34 import jdk.test.lib.*;
    34 import jdk.test.lib.process.ProcessTools;
       
    35 import jdk.test.lib.process.OutputAnalyzer;
    35 
    36 
    36 public class ConfigFileParsing {
    37 public class ConfigFileParsing {
    37   public static void main(String[] args) throws Exception {
    38   public static void main(String[] args) throws Exception {
    38     String testFileName = ".hotspotrc";
    39     String testFileName = ".hotspotrc";
    39 
    40