You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mt...@apache.org on 2009/09/24 10:21:32 UTC

svn commit: r818398 - /commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Loader.java

Author: mturk
Date: Thu Sep 24 08:21:32 2009
New Revision: 818398

URL: http://svn.apache.org/viewvc?rev=818398&view=rev
Log:
Fix dump

Modified:
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Loader.java

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Loader.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Loader.java?rev=818398&r1=818397&r2=818398&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Loader.java (original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Loader.java Thu Sep 24 08:21:32 2009
@@ -264,8 +264,12 @@
                 System.out.println("Loaded from classpath: ");
                 for (int i = 0; i < Properties.NATIVE_LIBS.length; i++) {
                     File f =  libs.get(Properties.NATIVE_LIBS[i]);
-                    System.out.println("[" + i + "] " +
-                                       f == null ? "java.library.path" : f.getPath());
+                    String from;
+                    if (f != null)
+                        from = f.getPath();
+                    else
+                        from = "${java.library.path}";
+                    System.out.println("[" + i + "] " + from);
                 }
                 System.out.println();
             }