Searched refs:JarInputStream (Results 1 - 15 of 15) sorted by relevance

/openjdk7/jdk/test/java/util/jar/JarInputStream/
H A DEmptyJar.java26 @summary Make sure JarInputStream constructor will not
37 JarInputStream is = new JarInputStream
H A DTestIndexedJarWithBadSignature.java27 * @summary Confirm the JarInputStream throws the SecurityException when
34 import java.util.jar.JarInputStream;
39 try (JarInputStream jis = new JarInputStream(
H A DScanSignedJar.java40 * the JarInputStream.getNextJarEntry method; it never occurred when
54 JarInputStream inStream =
55 new JarInputStream(new URL(JAR_LOCATION).openStream(), true);
/openjdk7/jdk/test/tools/pack200/
H A DTestExceptions.java34 import java.util.jar.JarInputStream;
122 // test the Pack200.pack(JarInputStream, OutputStream);
128 tlist.add(new PackTestJarInputStream((JarInputStream)null, null));
129 tlist.add(new PackTestJarInputStream((JarInputStream)null,
132 new JarInputStream(new FileInputStream(testJar)), null));
298 public PackTestJarInputStream(JarInputStream in, OutputStream out) {
302 JarInputStream getJarInputStream() {
303 return (JarInputStream) super.in;
/openjdk7/jdk/src/share/classes/java/util/jar/
H A DJarInputStream.java34 * The <code>JarInputStream</code> class is used to read the contents of
46 class JarInputStream extends ZipInputStream { class in inherits:ZipInputStream
55 * Creates a new <code>JarInputStream</code> and reads the optional
57 * the signatures if the JarInputStream is signed.
61 public JarInputStream(InputStream in) throws IOException { method in class:JarInputStream
66 * Creates a new <code>JarInputStream</code> and reads the optional
68 * to verify the signatures if the JarInputStream is signed.
71 * @param verify whether or not to verify the JarInputStream if
75 public JarInputStream(InputStream in, boolean verify) throws IOException { method in class:JarInputStream
H A DPack200.java558 * Takes a JarInputStream and converts it into a Pack200 archive.
567 * @param in a JarInputStream
571 void pack(JarInputStream in, OutputStream out) throws IOException ;
/openjdk7/hotspot/agent/test/jdi/
H A DSASanityChecker.java71 JarInputStream jis = new JarInputStream(fis);
/openjdk7/jdk/src/share/classes/com/sun/java/util/jar/pack/
H A DUtils.java46 import java.util.jar.JarInputStream;
237 static void copyJarFile(JarInputStream in, JarOutputStream out) throws IOException {
267 static void copyJarFile(JarInputStream in, OutputStream out) throws IOException {
H A DUnpackerImpl.java41 import java.util.jar.JarInputStream;
130 Utils.copyJarFile(new JarInputStream(in0), out);
H A DPackerImpl.java48 import java.util.jar.JarInputStream;
109 * Takes a JarInputStream and converts into a pack-stream.
118 * @param in a JarInputStream
122 public synchronized void pack(JarInputStream in, OutputStream out) throws IOException {
411 void run(JarInputStream in, OutputStream out) throws IOException {
/openjdk7/jdk/test/java/util/zip/ZipFile/
H A DAssortment.java119 void verify(JarInputStream jis) throws Exception {
120 // JarInputStream "automatically" reads the manifest
224 // Verify zip file contents using JarInputStream class
226 JarInputStream jis = new JarInputStream(
229 // JarInputStream "automatically" reads the manifest
/openjdk7/jdk/test/javax/management/MBeanInfo/
H A DNotificationInfoTest.java257 JarInputStream jis = new JarInputStream(is);
/openjdk7/jdk/src/share/classes/java/lang/
H A DPackage.java41 import java.util.jar.JarInputStream;
582 JarInputStream jis = new JarInputStream(fis, false))
/openjdk7/jdk/test/sun/net/www/protocol/http/6550798/
H A DTestCache.java48 import java.util.jar.JarInputStream;
/openjdk7/jdk/test/java/util/jar/
H A DTestExtra.java219 return new JarInputStream(bais);

Completed in 735 milliseconds