mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

kenneth_suter
28.33.2007 7f4ec483392b8fc09b5a512ebf7db5097f5dabf0
issue 1461: changed parent class loader to the application's class loader for default enable method of ClassLoaderProvider
1 files modified
6 ■■■■ changed files
opends/src/server/org/opends/server/admin/ClassLoaderProvider.java 6 ●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/admin/ClassLoaderProvider.java
@@ -248,8 +248,8 @@
  /**
   * Enable this class loader provider using the default parent class
   * loader.
   * Enable this class loader provider using the application's
   * class loader as the parent class loader
   *
   * @throws InitializationException
   *           If the class loader provider could not initialize
@@ -259,7 +259,7 @@
   */
  public synchronized void enable() throws InitializationException,
      IllegalStateException {
    enable(null);
    enable(RootCfgDefn.class.getClassLoader());
  }