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 * @summary Test config, cmd and lib directories of jmod.
27 * @author Andrei Eremeev
28 * @library ../lib
29 * @modules java.base/jdk.internal.jimage
30 * jdk.jdeps/com.sun.tools.classfile
31 * jdk.jlink/jdk.tools.jlink
32 * jdk.jlink/jdk.tools.jlink.internal
33 * jdk.jlink/jdk.tools.jmod
34 * jdk.jlink/jdk.tools.jimage
35 * @build tests.*
36 * @run main NativeTest
37 */
38
39 import java.io.File;
40 import java.io.IOException;
41 import java.nio.file.Files;
42 import java.nio.file.Path;
43 import java.util.Arrays;
44
45 import tests.Helper;
46 import tests.JImageGenerator;
47
48 public class NativeTest {
49
50 private final Helper helper;
51
52 public NativeTest(Helper helper) {
53 this.helper = helper;
54 }
|
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 * @summary Test config, cmd and lib directories of jmod.
27 * @author Andrei Eremeev
28 * @library ../lib
29 * @modules java.base/jdk.internal.jimage
30 * jdk.jdeps/com.sun.tools.classfile
31 * jdk.jlink/jdk.tools.jlink
32 * jdk.jlink/jdk.tools.jlink.internal
33 * jdk.jlink/jdk.tools.jmod
34 * jdk.jlink/jdk.tools.jimage
35 * jdk.compiler
36 * @build tests.*
37 * @run main NativeTest
38 */
39
40 import java.io.File;
41 import java.io.IOException;
42 import java.nio.file.Files;
43 import java.nio.file.Path;
44 import java.util.Arrays;
45
46 import tests.Helper;
47 import tests.JImageGenerator;
48
49 public class NativeTest {
50
51 private final Helper helper;
52
53 public NativeTest(Helper helper) {
54 this.helper = helper;
55 }
|