[armedbear-cvs] r12697 - branches/0.20.x/abcl/src/org/armedbear/lisp

Mark Evenson mevenson at common-lisp.net
Mon May 17 18:33:13 UTC 2010


Author: mevenson
Date: Mon May 17 14:33:12 2010
New Revision: 12697

Log:
Backport r12695: Change messages from trace to warn for failing InputStream.


Modified:
   branches/0.20.x/abcl/src/org/armedbear/lisp/Pathname.java

Modified: branches/0.20.x/abcl/src/org/armedbear/lisp/Pathname.java
==============================================================================
--- branches/0.20.x/abcl/src/org/armedbear/lisp/Pathname.java	(original)
+++ branches/0.20.x/abcl/src/org/armedbear/lisp/Pathname.java	Mon May 17 14:33:12 2010
@@ -2102,13 +2102,13 @@
 		if (entry == null) {
 		    Debug.trace("Failed to get InputStream for "    
 				+ "'" + getNamestring() + "'");
-
+                    // XXX should this be fatal?
 		    Debug.assertTrue(false);
 		}
                 try {
                     result = jarFile.getInputStream(entry);
                 } catch (IOException e) {
-                    Debug.trace("Failed to get InputStream from "
+                    Debug.warn("Failed to get InputStream from "
                                 + "'" + getNamestring() + "'"
                                 + ": " + e);
                 }
@@ -2118,7 +2118,7 @@
             try { 
                 result = url.openStream();
             } catch (IOException e) {
-                Debug.trace("Failed to get InputStream from "
+                Debug.warn("Failed to get InputStream from "
                             + "'" + getNamestring() + "'"
                             + ": " + e);
             }
@@ -2127,7 +2127,7 @@
             try { 
                 result = new FileInputStream(file);
             } catch (IOException e) {
-                Debug.trace("Failed to get InputStream from "
+                Debug.warn("Failed to get InputStream from "
                             + "'" + getNamestring() + "'"
                             + ": " + e);
             }




More information about the armedbear-cvs mailing list