equal
deleted
inserted
replaced
29 * @library ../lib |
29 * @library ../lib |
30 * @build ToolTester |
30 * @build ToolTester |
31 * @run main T6410643 |
31 * @run main T6410643 |
32 */ |
32 */ |
33 |
33 |
|
34 import java.io.IOException; |
34 import javax.tools.JavaFileObject; |
35 import javax.tools.JavaFileObject; |
35 import static java.util.Collections.singleton; |
36 import static java.util.Collections.singleton; |
36 |
37 |
37 public class T6410643 extends ToolTester { |
38 public class T6410643 extends ToolTester { |
38 |
39 |
66 testGetTask(s, null, f); |
67 testGetTask(s, null, f); |
67 testGetTask(s, s, null); |
68 testGetTask(s, s, null); |
68 testGetTask(s, s, f); |
69 testGetTask(s, s, f); |
69 System.err.println("Test result: PASSED"); |
70 System.err.println("Test result: PASSED"); |
70 } |
71 } |
71 public static void main(String... args) { |
72 |
72 new T6410643().test(args); |
73 public static void main(String... args) throws IOException { |
|
74 try (T6410643 t = new T6410643()) { |
|
75 t.test(args); |
|
76 } |
73 } |
77 } |
74 } |
78 } |