12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 */
23
24 /*
25 * @test
26 * @bug 8142968 8166568 8166286 8170618 8168149
27 * @summary Basic test for jmod
28 * @library /test/lib
29 * @modules jdk.compiler
30 * jdk.jlink
31 * @build jdk.test.lib.compiler.CompilerUtils
32 * @run testng/othervm -Djava.io.tmpdir=. JmodTest
33 */
34
35 import java.io.*;
36 import java.lang.module.ModuleDescriptor;
37 import java.lang.reflect.Method;
38 import java.nio.file.*;
39 import java.util.*;
40 import java.util.function.Consumer;
41 import java.util.regex.Pattern;
42 import java.util.spi.ToolProvider;
43 import java.util.stream.Stream;
44 import jdk.test.lib.compiler.CompilerUtils;
45 import jdk.test.lib.util.FileUtils;
46 import org.testng.annotations.BeforeTest;
47 import org.testng.annotations.Test;
48
49 import static java.io.File.pathSeparator;
50 import static java.lang.module.ModuleDescriptor.Version;
51 import static java.nio.charset.StandardCharsets.UTF_8;
|
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 */
23
24 /*
25 * @test
26 * @bug 8142968 8166568 8166286 8170618 8168149
27 * @summary Basic test for jmod
28 * @library /test/lib
29 * @modules jdk.compiler
30 * jdk.jlink
31 * @build jdk.test.lib.compiler.CompilerUtils
32 * jdk.test.lib.util.FileUtils
33 * jdk.test.lib.Utils
34 * jdk.test.lib.Asserts
35 * jdk.test.lib.JDKToolFinder
36 * jdk.test.lib.JDKToolLauncher
37 * jdk.test.lib.Platform
38 * jdk.test.lib.process.*
39 * @run testng/othervm -Djava.io.tmpdir=. JmodTest
40 */
41
42 import java.io.*;
43 import java.lang.module.ModuleDescriptor;
44 import java.lang.reflect.Method;
45 import java.nio.file.*;
46 import java.util.*;
47 import java.util.function.Consumer;
48 import java.util.regex.Pattern;
49 import java.util.spi.ToolProvider;
50 import java.util.stream.Stream;
51 import jdk.test.lib.compiler.CompilerUtils;
52 import jdk.test.lib.util.FileUtils;
53 import org.testng.annotations.BeforeTest;
54 import org.testng.annotations.Test;
55
56 import static java.io.File.pathSeparator;
57 import static java.lang.module.ModuleDescriptor.Version;
58 import static java.nio.charset.StandardCharsets.UTF_8;
|