harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r964468 - /harmony/enhanced/java/trunk/classlib/modules/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/JarFileTest.java
Date Thu, 15 Jul 2010 15:33:23 GMT
Author: hindessm
Date: Thu Jul 15 15:33:23 2010
New Revision: 964468

URL: http://svn.apache.org/viewvc?rev=964468&view=rev
Log:
Fix comments in regression test for "[HARMONY-6384] Jar decoding breaks upon
encountering a Z_SYNC_FLUSH block".

Modified:
    harmony/enhanced/java/trunk/classlib/modules/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/JarFileTest.java

Modified: harmony/enhanced/java/trunk/classlib/modules/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/JarFileTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/trunk/classlib/modules/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/JarFileTest.java?rev=964468&r1=964467&r2=964468&view=diff
==============================================================================
--- harmony/enhanced/java/trunk/classlib/modules/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/JarFileTest.java
(original)
+++ harmony/enhanced/java/trunk/classlib/modules/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/JarFileTest.java
Thu Jul 15 15:33:23 2010
@@ -662,11 +662,12 @@ public class JarFileTest extends TestCas
         assertEquals("Wrong length of empty jar entry", -1, res);
     }
 
+    // Regression test for HARMONY-6384
     public void testJarWrittenWithFlush() throws IOException {
         File f = new File(resources, "hyts_flushed.jar");
         Support_Resources.copyFile(resources, null, "hyts_flushed.jar");
 
-        // Harmony crashes with ZipException: Central Directory Entry not found
+        // Used to crash with ZipException: Central Directory Entry not found
         new JarFile(f);
     }
 }



Mime
View raw message