[armedbear-cvs] r12973 - trunk/abcl/src/org/armedbear/lisp

Erik Huelsmann ehuelsmann at common-lisp.net
Thu Oct 14 11:47:32 UTC 2010


Author: ehuelsmann
Date: Thu Oct 14 07:47:28 2010
New Revision: 12973

Log:
Fix an issue with running ABCL on Oracle JRockit JVM!

Patch by: Joel Borggrén-Franck
          joel (dot) borggren (dot) franck <at> gmail.com

Modified:
   trunk/abcl/src/org/armedbear/lisp/Pathname.java

Modified: trunk/abcl/src/org/armedbear/lisp/Pathname.java
==============================================================================
--- trunk/abcl/src/org/armedbear/lisp/Pathname.java	(original)
+++ trunk/abcl/src/org/armedbear/lisp/Pathname.java	Thu Oct 14 07:47:28 2010
@@ -2004,6 +2004,9 @@
                         ZipEntry entry = jarFile.getEntry(entryPath);
                         if (entry != null) {
                             // ensure this isn't a directory
+                            if (entry.isDirectory()) {
+                                return NIL;
+                            }
                             try {
                                 InputStream input = jarFile.getInputStream(entry);
                                 if (input != null) {




More information about the armedbear-cvs mailing list