Workaround for Java 1.2.2 compiler bug. Issue #31818.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139054 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -63,7 +63,7 @@ import org.apache.commons.logging.LogFactory;
|
|||||||
* @author Rod Waldhoff
|
* @author Rod Waldhoff
|
||||||
* @author Craig R. McClanahan
|
* @author Craig R. McClanahan
|
||||||
* @author Richard A. Sitze
|
* @author Richard A. Sitze
|
||||||
* @version $Revision: 1.35 $ $Date: 2004/10/17 09:14:10 $
|
* @version $Revision: 1.36 $ $Date: 2004/10/31 17:53:48 $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class LogFactoryImpl extends LogFactory {
|
public class LogFactoryImpl extends LogFactory {
|
||||||
@@ -419,6 +419,14 @@ public class LogFactoryImpl extends LogFactory {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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.
|
* MUST KEEP THIS METHOD PRIVATE.
|
||||||
|
|||||||
Reference in New Issue
Block a user