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

Mark Evenson mevenson at common-lisp.net
Mon May 17 17:27:29 UTC 2010


Author: mevenson
Date: Mon May 17 13:27:28 2010
New Revision: 12695

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



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	Mon May 17 13:27:28 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