equal
deleted
inserted
replaced
24 /* |
24 /* |
25 * @test |
25 * @test |
26 * @bug 8037085 |
26 * @bug 8037085 |
27 * @summary Ensures that sjavac can handle various exclusion patterns. |
27 * @summary Ensures that sjavac can handle various exclusion patterns. |
28 * |
28 * |
29 * @modules jdk.compiler/com.sun.tools.sjavac |
29 * @modules jdk.compiler/com.sun.tools.javac.main |
30 * jdk.jdeps/com.sun.tools.javap |
30 * jdk.compiler/com.sun.tools.sjavac |
|
31 * jdk.compiler/com.sun.tools.sjavac.server |
31 * @library /tools/lib |
32 * @library /tools/lib |
32 * @build Wrapper toolbox.ToolBox |
33 * @build Wrapper toolbox.ToolBox toolbox.Assert |
33 * @run main Wrapper IncludeExcludePatterns |
34 * @run main Wrapper IncludeExcludePatterns |
34 */ |
35 */ |
35 |
|
36 import com.sun.tools.javac.main.Main.Result; |
|
37 import com.sun.tools.javac.util.Assert; |
|
38 import com.sun.tools.sjavac.server.Sjavac; |
|
39 |
36 |
40 import java.io.File; |
37 import java.io.File; |
41 import java.io.IOException; |
38 import java.io.IOException; |
42 import java.nio.file.Files; |
39 import java.nio.file.Files; |
43 import java.nio.file.Path; |
40 import java.nio.file.Path; |
46 import java.util.Collection; |
43 import java.util.Collection; |
47 import java.util.HashSet; |
44 import java.util.HashSet; |
48 import java.util.Set; |
45 import java.util.Set; |
49 import java.util.stream.Collectors; |
46 import java.util.stream.Collectors; |
50 import java.util.stream.Stream; |
47 import java.util.stream.Stream; |
|
48 |
|
49 import com.sun.tools.javac.main.Main.Result; |
|
50 |
|
51 import toolbox.Assert; |
51 |
52 |
52 public class IncludeExcludePatterns extends SjavacBase { |
53 public class IncludeExcludePatterns extends SjavacBase { |
53 |
54 |
54 final Path SRC = Paths.get("src"); |
55 final Path SRC = Paths.get("src"); |
55 final Path BIN = Paths.get("bin"); |
56 final Path BIN = Paths.get("bin"); |