geronimo-xbean-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r573361 - /geronimo/xbean/trunk/xbean-finder/src/main/java/org/apache/xbean/finder/UrlSet.java
Date Thu, 06 Sep 2007 20:36:37 GMT
Author: dblevins
Date: Thu Sep  6 13:36:36 2007
New Revision: 573361

URL: http://svn.apache.org/viewvc?rev=573361&view=rev
Log:
Compensate for when java.endorsed.dirs is null.  Fixes XBEAN-92.

Modified:
    geronimo/xbean/trunk/xbean-finder/src/main/java/org/apache/xbean/finder/UrlSet.java

Modified: geronimo/xbean/trunk/xbean-finder/src/main/java/org/apache/xbean/finder/UrlSet.java
URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/xbean-finder/src/main/java/org/apache/xbean/finder/UrlSet.java?rev=573361&r1=573360&r2=573361&view=diff
==============================================================================
--- geronimo/xbean/trunk/xbean-finder/src/main/java/org/apache/xbean/finder/UrlSet.java (original)
+++ geronimo/xbean/trunk/xbean-finder/src/main/java/org/apache/xbean/finder/UrlSet.java Thu
Sep  6 13:36:36 2007
@@ -106,16 +106,17 @@
      * @throws MalformedURLException
      */
     public UrlSet excludeJavaExtDirs() throws MalformedURLException {
-        return excludePaths(System.getProperty("java.ext.dirs"));
+        return excludePaths(System.getProperty("java.ext.dirs", ""));
     }
 
     /**
      * Calls excludePaths(System.getProperty("java.endorsed.dirs"))
+     *
      * @return
      * @throws MalformedURLException
      */
     public UrlSet excludeJavaEndorsedDirs() throws MalformedURLException {
-        return excludePaths(System.getProperty("java.endorsed.dirs"));
+        return excludePaths(System.getProperty("java.endorsed.dirs", ""));
     }
 
     public UrlSet excludeJavaHome() throws MalformedURLException {



Mime
View raw message