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 StringSharingPluginTest
27 * @author Jean-Francois Denise
28 * @library ../../lib
29 * @modules java.base/jdk.internal.jimage
30 * java.base/jdk.internal.jimage.decompressor
31 * jdk.jlink/jdk.tools.jlink.internal
32 * jdk.jlink/jdk.tools.jlink.internal.plugins
33 * jdk.jlink/jdk.tools.jmod
34 * jdk.jlink/jdk.tools.jimage
35 * jdk.jdeps/com.sun.tools.classfile
36 * jdk.compiler
37 * @run build tests.*
38 * @run main StringSharingPluginTest
39 */
40
41 import java.io.IOException;
42 import java.io.UncheckedIOException;
43 import java.nio.ByteBuffer;
44 import java.nio.ByteOrder;
45 import java.nio.file.Files;
46 import java.nio.file.Path;
47 import java.util.Arrays;
48 import java.util.HashMap;
49 import java.util.List;
50 import java.util.Map;
51 import java.util.function.Consumer;
52
|
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 StringSharingPluginTest
27 * @author Jean-Francois Denise
28 * @library ../../lib
29 * @modules java.base/jdk.internal.jimage
30 * java.base/jdk.internal.jimage.decompressor
31 * jdk.jlink/jdk.tools.jlink.internal
32 * jdk.jlink/jdk.tools.jlink.internal.plugins
33 * jdk.jlink/jdk.tools.jlink.plugin
34 * jdk.jlink/jdk.tools.jmod
35 * jdk.jlink/jdk.tools.jimage
36 * jdk.jdeps/com.sun.tools.classfile
37 * jdk.compiler
38 * @run build tests.*
39 * @run main StringSharingPluginTest
40 */
41
42 import java.io.IOException;
43 import java.io.UncheckedIOException;
44 import java.nio.ByteBuffer;
45 import java.nio.ByteOrder;
46 import java.nio.file.Files;
47 import java.nio.file.Path;
48 import java.util.Arrays;
49 import java.util.HashMap;
50 import java.util.List;
51 import java.util.Map;
52 import java.util.function.Consumer;
53
|