/[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.10.2.4 by gnu_andrew, Tue Aug 2 20:12:31 2005 UTC revision 1.10.2.5 by gnu_andrew, Sat Sep 10 15:31:47 2005 UTC
# Line 1  Line 1 
1  /* JarFile.java - Representation of a jar file  /* JarFile.java - Representation of a jar file
2     Copyright (C) 2000, 2003, 2004 Free Software Foundation, Inc.     Copyright (C) 2000, 2003, 2004, 2005 Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 351  public class JarFile extends ZipFile Line 351  public class JarFile extends ZipFile
351    
352        synchronized(jarfile)        synchronized(jarfile)
353          {          {
354            if (!jarfile.signaturesRead)            if (jarfile.verify && !jarfile.signaturesRead)
355              try              try
356                {                {
357                  jarfile.readSignatures();                  jarfile.readSignatures();
# Line 408  public class JarFile extends ZipFile Line 408  public class JarFile extends ZipFile
408              jarEntry.attr = manifest.getAttributes(name);              jarEntry.attr = manifest.getAttributes(name);
409            }            }
410    
411          if (!signaturesRead)          if (verify && !signaturesRead)
412            try            try
413              {              {
414                readSignatures();                readSignatures();

Legend:
Removed from v.1.10.2.4  
changed lines
  Added in v.1.10.2.5

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