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 * @summary Test zip compressor
27 * @author Jean-Francois Denise
28 * @modules java.base/jdk.internal.jimage.decompressor
29 * jdk.jlink/jdk.tools.jlink.internal
30 * jdk.jlink/jdk.tools.jlink.internal.plugins
31 * @run main CompressorPluginTest
32 */
33 import java.net.URI;
34 import java.nio.ByteOrder;
35 import java.nio.file.FileSystem;
36 import java.nio.file.FileSystemNotFoundException;
37 import java.nio.file.FileSystems;
38 import java.nio.file.Files;
39 import java.nio.file.Path;
40 import java.nio.file.ProviderNotFoundException;
41 import java.util.Collections;
42 import java.util.HashMap;
43 import java.util.Iterator;
44 import java.util.List;
45 import java.util.Map;
46 import java.util.Properties;
47 import java.util.regex.Pattern;
48 import java.util.stream.Collectors;
49 import java.util.stream.Stream;
50
|
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 * @summary Test zip compressor
27 * @author Jean-Francois Denise
28 * @modules java.base/jdk.internal.jimage.decompressor
29 * jdk.jlink/jdk.tools.jlink.internal
30 * jdk.jlink/jdk.tools.jlink.internal.plugins
31 * jdk.jlink/jdk.tools.jlink.plugin
32 * @run main CompressorPluginTest
33 */
34 import java.net.URI;
35 import java.nio.ByteOrder;
36 import java.nio.file.FileSystem;
37 import java.nio.file.FileSystemNotFoundException;
38 import java.nio.file.FileSystems;
39 import java.nio.file.Files;
40 import java.nio.file.Path;
41 import java.nio.file.ProviderNotFoundException;
42 import java.util.Collections;
43 import java.util.HashMap;
44 import java.util.Iterator;
45 import java.util.List;
46 import java.util.Map;
47 import java.util.Properties;
48 import java.util.regex.Pattern;
49 import java.util.stream.Collectors;
50 import java.util.stream.Stream;
51
|