[jboss-cvs] apache/commons-logging/src/java/org/apache/commons/logging/impl ...

Scott Stark scott.stark at jboss.com
Mon Feb 12 02:14:38 EST 2007


  User: starksm 
  Date: 07/02/12 02:14:38

  Modified:    commons-logging/src/java/org/apache/commons/logging/impl 
                        Tag: JBoss_Apache_Common_Logging_Branch_1_1
                        Log4JLogger.java
  Log:
  Need to initialize the delegate in the ctor or else stack overflow can occur when the call initiate logging is a class load
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.3.4.2   +2 -1      apache/commons-logging/src/java/org/apache/commons/logging/impl/Log4JLogger.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Log4JLogger.java
  ===================================================================
  RCS file: /cvsroot/jboss/apache/commons-logging/src/java/org/apache/commons/logging/impl/Log4JLogger.java,v
  retrieving revision 1.3.4.1
  retrieving revision 1.3.4.2
  diff -u -b -r1.3.4.1 -r1.3.4.2
  --- Log4JLogger.java	11 Feb 2007 20:23:47 -0000	1.3.4.1
  +++ Log4JLogger.java	12 Feb 2007 07:14:38 -0000	1.3.4.2
  @@ -43,7 +43,7 @@
    * @author Rod Waldhoff
    * @author Robert Burrell Donkin
    * @author Scott.Stark at jboss.org
  - * @version $Id: Log4JLogger.java,v 1.3.4.1 2007/02/11 20:23:47 starksm Exp $
  + * @version $Id: Log4JLogger.java,v 1.3.4.2 2007/02/12 07:14:38 starksm Exp $
    */
   
   public class Log4JLogger implements Log, Serializable {
  @@ -87,6 +87,7 @@
           {
              throw new ExceptionInInitializerError(e);
           }
  +        getLogger();
       }
   
       /**
  
  
  



More information about the jboss-cvs-commits mailing list