geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/gbean/jmx GBeanMBean.java
Date Mon, 30 Aug 2004 22:13:56 GMT
dain        2004/08/30 15:13:56

  Modified:    modules/kernel/src/java/org/apache/geronimo/gbean/jmx
                        GBeanMBean.java
  Log:
  When context classloader is unavailable, user class loader of GBeanMBean and
  not the system class loader
  
  Revision  Changes    Path
  1.29      +2 -2      incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/gbean/jmx/GBeanMBean.java
  
  Index: GBeanMBean.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/gbean/jmx/GBeanMBean.java,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- GBeanMBean.java	20 Jul 2004 10:06:14 -0000	1.28
  +++ GBeanMBean.java	30 Aug 2004 22:13:56 -0000	1.29
  @@ -82,7 +82,7 @@
       private static ClassLoader getContextClassLoader() {
           ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
           if (classLoader == null) {
  -            classLoader = ClassLoader.getSystemClassLoader();
  +            classLoader = GBeanMBean.class.getClassLoader();
           }
           return classLoader;
       }
  
  
  

Mime
View raw message