harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From odea...@apache.org
Subject svn commit: r799569 - /harmony/enhanced/jdktools/trunk/modules/jdktools/src/main/java/org/apache/harmony/tools/jar/Main.java
Date Fri, 31 Jul 2009 10:34:44 GMT
Author: odeakin
Date: Fri Jul 31 10:34:44 2009
New Revision: 799569

URL: http://svn.apache.org/viewvc?rev=799569&view=rev
Log:
Close the zip entry so compressed file data gets fully populated.

Modified:
    harmony/enhanced/jdktools/trunk/modules/jdktools/src/main/java/org/apache/harmony/tools/jar/Main.java

Modified: harmony/enhanced/jdktools/trunk/modules/jdktools/src/main/java/org/apache/harmony/tools/jar/Main.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/jdktools/trunk/modules/jdktools/src/main/java/org/apache/harmony/tools/jar/Main.java?rev=799569&r1=799568&r2=799569&view=diff
==============================================================================
--- harmony/enhanced/jdktools/trunk/modules/jdktools/src/main/java/org/apache/harmony/tools/jar/Main.java
(original)
+++ harmony/enhanced/jdktools/trunk/modules/jdktools/src/main/java/org/apache/harmony/tools/jar/Main.java
Fri Jul 31 10:34:44 2009
@@ -274,6 +274,7 @@
             Date date = new Date(ze.getTime());
             DateFormat dateFormat = new SimpleDateFormat("EEE MMM dd HH:mm:ss z yyy");
             String formattedDate = dateFormat.format(date);
+            zis.closeEntry();
             System.out.printf("%6d %s %s\n", ze.getSize(), formattedDate, ze.getName());
         }
 



Mime
View raw message