commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject cvs commit: jakarta-commons/logging/src/java/org/apache/commons/logging/impl LogFactoryImpl.java
Date Sun, 31 Oct 2004 17:53:48 GMT
rdonkin     2004/10/31 09:53:48

  Modified:    logging/src/java/org/apache/commons/logging/impl
                        LogFactoryImpl.java
  Log:
  Workaround for Java 1.2.2 compiler bug. Issue #31818.
  
  Revision  Changes    Path
  1.36      +9 -1      jakarta-commons/logging/src/java/org/apache/commons/logging/impl/LogFactoryImpl.java
  
  Index: LogFactoryImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/logging/src/java/org/apache/commons/logging/impl/LogFactoryImpl.java,v
  retrieving revision 1.35
  retrieving revision 1.36
  diff -u -r1.35 -r1.36
  --- LogFactoryImpl.java	17 Oct 2004 09:14:10 -0000	1.35
  +++ LogFactoryImpl.java	31 Oct 2004 17:53:48 -0000	1.36
  @@ -419,6 +419,14 @@
           }
       }
   
  +    /**
  +     * Gets the context classloader.
  +     * This method is a workaround for a java 1.2 compiler bug.
  +     */
  +    protected static ClassLoader getContextClassLoader() throws LogConfigurationException
{
  +        return LogFactory.getContextClassLoader();
  +    }
  +
   
       /**
        * MUST KEEP THIS METHOD PRIVATE.
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message