accumulo-commits mailing list archives

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

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



Modified:
    accumulo/trunk/   (props changed)
    accumulo/trunk/start/src/main/java/org/apache/accumulo/start/classloader/AccumuloClassLoader.java

Propchange: accumulo/trunk/
------------------------------------------------------------------------------
  Merged /accumulo/branches/1.5:r1482431-1482432

Modified: accumulo/trunk/start/src/main/java/org/apache/accumulo/start/classloader/AccumuloClassLoader.java
URL: http://svn.apache.org/viewvc/accumulo/trunk/start/src/main/java/org/apache/accumulo/start/classloader/AccumuloClassLoader.java?rev=1482434&r1=1482433&r2=1482434&view=diff
==============================================================================
--- accumulo/trunk/start/src/main/java/org/apache/accumulo/start/classloader/AccumuloClassLoader.java
(original)
+++ accumulo/trunk/start/src/main/java/org/apache/accumulo/start/classloader/AccumuloClassLoader.java
Tue May 14 16:29:53 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