10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
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 * @library /test/lib
27 * @modules java.base/jdk.internal.misc
28 * jdk.compiler
29 * jdk.jartool
30 * @build MRTestBase
31 * @run testng Basic
32 */
33
34 import static org.testng.Assert.*;
35
36 import jdk.test.lib.util.FileUtils;
37 import org.testng.annotations.*;
38
39 import java.io.File;
40 import java.nio.file.*;
41 import java.util.*;
42 import java.util.jar.JarFile;
43 import java.util.zip.ZipFile;
44
45 public class Basic extends MRTestBase {
46
47 @Test
48 // create a regular, non-multi-release jar
49 public void test00() throws Throwable {
50 String jarfile = "test.jar";
|
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
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 * @library /test/lib
27 * @modules java.base/jdk.internal.misc
28 * jdk.compiler
29 * jdk.jartool
30 * @build jdk.test.lib.util.FileUtils
31 * jdk.test.lib.Utils
32 * jdk.test.lib.Asserts
33 * jdk.test.lib.JDKToolFinder
34 * jdk.test.lib.JDKToolLauncher
35 * jdk.test.lib.Platform
36 * jdk.test.lib.process.*
37 * MRTestBase
38 * @run testng Basic
39 */
40
41 import static org.testng.Assert.*;
42
43 import jdk.test.lib.util.FileUtils;
44 import org.testng.annotations.*;
45
46 import java.io.File;
47 import java.nio.file.*;
48 import java.util.*;
49 import java.util.jar.JarFile;
50 import java.util.zip.ZipFile;
51
52 public class Basic extends MRTestBase {
53
54 @Test
55 // create a regular, non-multi-release jar
56 public void test00() throws Throwable {
57 String jarfile = "test.jar";
|