equal
deleted
inserted
replaced
23 */ |
23 */ |
24 |
24 |
25 /** |
25 /** |
26 * @test |
26 * @test |
27 * @requires vm.cds |
27 * @requires vm.cds |
28 * @library /test/jdk/lib/testlibrary /test/lib /test/hotspot/jtreg/runtime/appcds |
28 * @library /test/lib /test/hotspot/jtreg/runtime/appcds |
29 * @modules jdk.compiler |
29 * @modules jdk.compiler |
30 * jdk.jartool/sun.tools.jar |
30 * jdk.jartool/sun.tools.jar |
31 * jdk.jlink |
31 * jdk.jlink |
32 * @run main ExportModule |
32 * @run main ExportModule |
33 * @summary Tests involve exporting a module from the module path to a jar in the -cp. |
33 * @summary Tests involve exporting a module from the module path to a jar in the -cp. |
38 import java.nio.file.Path; |
38 import java.nio.file.Path; |
39 import java.nio.file.Paths; |
39 import java.nio.file.Paths; |
40 |
40 |
41 import jdk.test.lib.compiler.CompilerUtils; |
41 import jdk.test.lib.compiler.CompilerUtils; |
42 import jdk.test.lib.process.OutputAnalyzer; |
42 import jdk.test.lib.process.OutputAnalyzer; |
43 import jdk.testlibrary.Asserts; |
43 import jdk.test.lib.Asserts; |
44 |
44 |
45 public class ExportModule { |
45 public class ExportModule { |
46 |
46 |
47 private static final Path USER_DIR = Paths.get(System.getProperty("user.dir")); |
47 private static final Path USER_DIR = Paths.get(System.getProperty("user.dir")); |
48 |
48 |