Return-Path: Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: (qmail 6606 invoked from network); 24 Sep 2009 08:21:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Sep 2009 08:21:55 -0000 Received: (qmail 67853 invoked by uid 500); 24 Sep 2009 08:21:54 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 67756 invoked by uid 500); 24 Sep 2009 08:21:54 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 67747 invoked by uid 99); 24 Sep 2009 08:21:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Sep 2009 08:21:54 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Sep 2009 08:21:52 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 6A7C623888E9; Thu, 24 Sep 2009 08:21:32 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r818398 - /commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Loader.java Date: Thu, 24 Sep 2009 08:21:32 -0000 To: commits@commons.apache.org From: mturk@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090924082132.6A7C623888E9@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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(); }