langtools/test/tools/javac/VersionOpt.java
changeset 30730 d3ce7619db2c
parent 27850 d27ca106daa4
child 36526 3b41f1c69604
equal deleted inserted replaced
30729:398f0f51917a 30730:d3ce7619db2c
     1 /*
     1 /*
     2  * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2005, 2015, 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.
    25  * @test
    25  * @test
    26  * @bug 6728697
    26  * @bug 6728697
    27  * @summary tools/javac/versionOpt.sh fails on OpenJDK builds
    27  * @summary tools/javac/versionOpt.sh fails on OpenJDK builds
    28  * Test checks the version strings displayed by javac, using
    28  * Test checks the version strings displayed by javac, using
    29  * strings that come out of the Java runtime.
    29  * strings that come out of the Java runtime.
       
    30  * @modules jdk.compiler
    30  */
    31  */
    31 
    32 
    32 import java.io.File;
    33 import java.io.File;
    33 import java.io.PrintWriter;
    34 import java.io.PrintWriter;
    34 import java.io.StringWriter;
    35 import java.io.StringWriter;