langtools/test/tools/sjavac/HiddenFiles.java
changeset 40308 274367a99f98
parent 37643 626e07816dce
equal deleted inserted replaced
40306:1a0fcaf3f2ed 40308:274367a99f98
    26 /*
    26 /*
    27  * @test
    27  * @test
    28  * @bug 8144226
    28  * @bug 8144226
    29  * @summary Ensures that excluded files are inaccessible (even for implicit
    29  * @summary Ensures that excluded files are inaccessible (even for implicit
    30  *          compilation)
    30  *          compilation)
    31  *
    31  * @modules jdk.compiler/com.sun.tools.javac.main
    32  * @modules jdk.compiler/com.sun.tools.sjavac
    32  *          jdk.compiler/com.sun.tools.sjavac
    33  *          jdk.jdeps/com.sun.tools.javap
    33  *          jdk.compiler/com.sun.tools.sjavac.server
    34  * @library /tools/lib
    34  * @library /tools/lib
    35  * @build Wrapper toolbox.ToolBox
    35  * @build Wrapper toolbox.ToolBox toolbox.Assert
    36  * @run main Wrapper HiddenFiles
    36  * @run main Wrapper HiddenFiles
    37  */
    37  */
    38 
    38 
    39 import com.sun.tools.javac.main.Main.Result;
       
    40 import com.sun.tools.javac.util.Assert;
       
    41 import com.sun.tools.sjavac.server.Sjavac;
       
    42 
    39 
    43 import java.nio.file.Files;
    40 import java.nio.file.Files;
    44 import java.nio.file.Path;
    41 import java.nio.file.Path;
    45 import java.nio.file.Paths;
    42 import java.nio.file.Paths;
       
    43 
       
    44 import com.sun.tools.javac.main.Main.Result;
       
    45 
       
    46 import toolbox.Assert;
    46 
    47 
    47 public class HiddenFiles extends SjavacBase {
    48 public class HiddenFiles extends SjavacBase {
    48 
    49 
    49     public static void main(String[] ignore) throws Exception {
    50     public static void main(String[] ignore) throws Exception {
    50         Path BIN = Paths.get("bin");
    51         Path BIN = Paths.get("bin");