accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vi...@apache.org
Subject svn commit: r1482431 - /accumulo/branches/1.5/start/src/main/java/org/apache/accumulo/start/classloader/AccumuloClassLoader.java
Date Tue, 14 May 2013 16:29:06 GMT
Author: vines
Date: Tue May 14 16:29:06 2013
New Revision: 1482431

URL: http://svn.apache.org/r1482431
Log:
ACCUMULO-1411 - Classloader now inherits propertly


Modified:
    accumulo/branches/1.5/start/src/main/java/org/apache/accumulo/start/classloader/AccumuloClassLoader.java

Modified: accumulo/branches/1.5/start/src/main/java/org/apache/accumulo/start/classloader/AccumuloClassLoader.java
URL: http://svn.apache.org/viewvc/accumulo/branches/1.5/start/src/main/java/org/apache/accumulo/start/classloader/AccumuloClassLoader.java?rev=1482431&r1=1482430&r2=1482431&view=diff
==============================================================================
--- accumulo/branches/1.5/start/src/main/java/org/apache/accumulo/start/classloader/AccumuloClassLoader.java
(original)
+++ accumulo/branches/1.5/start/src/main/java/org/apache/accumulo/start/classloader/AccumuloClassLoader.java
Tue May 14 16:29:06 2013
@@ -220,7 +220,7 @@ public class AccumuloClassLoader {
     if (classloader == null) {
       ArrayList<URL> urls = findAccumuloURLs();
       
-      ClassLoader parentClassLoader = ClassLoader.getSystemClassLoader();
+      ClassLoader parentClassLoader = AccumuloClassLoader.class.getClassLoader();
       
       log.debug("Create 2nd tier ClassLoader using URLs: " + urls.toString());
       URLClassLoader aClassLoader = new URLClassLoader(urls.toArray(new URL[urls.size()]),
parentClassLoader) {



Mime
View raw message