/[classpath]/classpath/java/util/jar/JarFile.java
ViewVC logotype

Diff of /classpath/java/util/jar/JarFile.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.11 by rsdio, Sun Nov 7 20:27:47 2004 UTC revision 1.12 by mark, Sun Nov 7 22:04:57 2004 UTC
# Line 449  public class JarFile extends ZipFile Line 449  public class JarFile extends ZipFile
449        {        {
450          if (DEBUG)          if (DEBUG)
451            debug("reading and verifying " + entry);            debug("reading and verifying " + entry);
452          return new EntryInputStream(entry);          return new EntryInputStream(entry, super.getInputStream(entry));
453        }        }
454      else      else
455        {        {
# Line 875  public class JarFile extends ZipFile Line 875  public class JarFile extends ZipFile
875      private final MessageDigest[] md;      private final MessageDigest[] md;
876      private boolean checked;      private boolean checked;
877    
878      EntryInputStream(final ZipEntry entry) throws IOException      EntryInputStream(final ZipEntry entry, final InputStream in)
879          throws IOException
880      {      {
881        super(JarFile.super.getInputStream(entry));        super(in);
882        this.entry = entry;        this.entry = entry;
883    
884        length = entry.getSize();        length = entry.getSize();

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26