langtools/test/tools/javac/options/modes/FSInfoTest.java
changeset 40316 20b50a99fe8d
parent 30730 d3ce7619db2c
equal deleted inserted replaced
40315:9e994c77db6a 40316:20b50a99fe8d
     1 /*
     1 /*
     2  * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2014, 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.
    27  * @summary test support for the internal file system cache
    27  * @summary test support for the internal file system cache
    28  * @modules jdk.compiler/com.sun.tools.javac.api
    28  * @modules jdk.compiler/com.sun.tools.javac.api
    29  *          jdk.compiler/com.sun.tools.javac.file
    29  *          jdk.compiler/com.sun.tools.javac.file
    30  *          jdk.compiler/com.sun.tools.javac.main
    30  *          jdk.compiler/com.sun.tools.javac.main
    31  *          jdk.compiler/com.sun.tools.javac.util
    31  *          jdk.compiler/com.sun.tools.javac.util
    32  * @build Tester
    32  * @build OptionModesTester
    33  * @run main FSInfoTest
    33  * @run main FSInfoTest
    34  */
    34  */
    35 
    35 
    36 import com.sun.tools.javac.file.CacheFSInfo;
    36 import com.sun.tools.javac.file.CacheFSInfo;
    37 import com.sun.tools.javac.file.FSInfo;
    37 import com.sun.tools.javac.file.FSInfo;
    38 import java.io.IOException;
    38 import java.io.IOException;
    39 
    39 
    40 public class FSInfoTest extends Tester {
    40 public class FSInfoTest extends OptionModesTester {
    41     public static void main(String... args) throws Exception {
    41     public static void main(String... args) throws Exception {
    42         FSInfoTest t = new FSInfoTest();
    42         FSInfoTest t = new FSInfoTest();
    43         t.writeFile("C.java", "class C { }");
    43         t.writeFile("C.java", "class C { }");
    44         t.runTests();
    44         t.runTests();
    45     }
    45     }