dblevins    2005/07/05 22:04:04

  Modified:    modules/core/src/java/org/openejb/server/telnet Lookup.java
  Log:

  Moved the getContextClassLoader method to the OpenEJB class so ClasspathUtils 
only contains the classpath modifying methods used by the Loaders and other 
code.
  
  Going to kill the ClasspathUtils and make everyone as the loaders directly to 
modify the classpath, rather than sometimes using the loader and then asking 
ClasspathUtils to guess what loader to use.
  
  Part of the fix for OPENEJB-40, OPENEJB-41 and OPENEJB-42.
  
  Revision  Changes    Path
  1.3       +2 -2      
openejb1/modules/core/src/java/org/openejb/server/telnet/Lookup.java
  
  Index: Lookup.java
  ===================================================================
  RCS file: 
/home/projects/openejb/scm/openejb1/modules/core/src/java/org/openejb/server/telnet/Lookup.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Lookup.java       16 Jun 2005 22:29:53 -0000      1.2
  +++ Lookup.java       6 Jul 2005 02:04:04 -0000       1.3
  @@ -167,7 +167,7 @@
                   {
                       try
                       {
  -                        ClassLoader cl = 
org.openejb.util.ClasspathUtils.getContextClassLoader();
  +                        ClassLoader cl = OpenEJB.getContextClassLoader();
                           eClass = Class.forName( entry.getClassName(), true, 
cl );
                       }
                       catch ( Throwable t )
  
  
  

Reply via email to