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 StripDebugPlugin
27 * @author Jean-Francois Denise
28 * @library ../../lib
29 * @build tests.*
30 * @modules java.base/jdk.internal.jimage
31 * jdk.jlink/jdk.tools.jlink.internal
32 * jdk.jlink/jdk.tools.jlink.internal.plugins
33 * jdk.jlink/jdk.tools.jimage
34 * jdk.jlink/jdk.tools.jmod
35 * jdk.jdeps/com.sun.tools.classfile
36 * jdk.compiler
37 * @run main StripDebugPluginTest
38 */
39
40 import java.io.ByteArrayInputStream;
41 import java.io.IOException;
42 import java.nio.file.Files;
43 import java.nio.file.Path;
44 import java.util.ArrayList;
45 import java.util.Arrays;
46 import java.util.Iterator;
47 import java.util.List;
48 import java.util.stream.Stream;
49
50 import com.sun.tools.classfile.Attribute;
51 import com.sun.tools.classfile.ClassFile;
52 import com.sun.tools.classfile.Code_attribute;
|
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 StripDebugPlugin
27 * @author Jean-Francois Denise
28 * @library ../../lib
29 * @build tests.*
30 * @modules java.base/jdk.internal.jimage
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.jimage
35 * jdk.jlink/jdk.tools.jmod
36 * jdk.jdeps/com.sun.tools.classfile
37 * jdk.compiler
38 * @run main StripDebugPluginTest
39 */
40
41 import java.io.ByteArrayInputStream;
42 import java.io.IOException;
43 import java.nio.file.Files;
44 import java.nio.file.Path;
45 import java.util.ArrayList;
46 import java.util.Arrays;
47 import java.util.Iterator;
48 import java.util.List;
49 import java.util.stream.Stream;
50
51 import com.sun.tools.classfile.Attribute;
52 import com.sun.tools.classfile.ClassFile;
53 import com.sun.tools.classfile.Code_attribute;
|