JavaNativeMethodImpl_OpenJDK7.st
branchdevelopment
changeset 2926 223fb480e1fb
parent 2917 e634189c444e
child 2958 bbd626006ab0
--- a/JavaNativeMethodImpl_OpenJDK7.st	Fri Nov 15 23:00:36 2013 +0000
+++ b/JavaNativeMethodImpl_OpenJDK7.st	Fri Nov 15 23:01:44 2013 +0000
@@ -413,6 +413,11 @@
     |  zmember |
 
     zmember := ZipEntryCache at: jzentry.
+    type == 0 "JZENTRY_NAME" ifTrue:[
+        ^zmember fileNameLength == 0
+            ifTrue:[nil]
+            ifFalse:[zmember fileName asByteArray].       
+    ].
     type == 1 "JZENTRY_EXTRA" ifTrue:[
         ^zmember extraFieldLength == 0
             ifTrue:[nil]
@@ -426,7 +431,7 @@
     self breakPoint: #jv.
     JavaVM throwZipException: 'Unknown type in getEntryBytes()'.
 
-    "Modified: / 08-02-2013 / 09:53:43 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Modified: / 15-11-2013 / 22:58:25 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
 _java_util_zip_ZipFile_getEntryCSize: this _: jzentry _: a2