Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0.4
-
None
-
Operating System: All
Platform: All
-
31818
Description
When you compile using JDK1.2 you get the following error message:
[javac]
/home/kstrauss/cvs/updated/PSI_PsUtil/org/apache/commons/logging/impl/LogFactoryImpl.java:457:
No method matching getContextClassLoader() found in class
org.apache.commons.logging.impl.LogFactoryImpl.
[javac] ClassLoader threadCL = getContextClassLoader();
It does however compile succesfully under JDK1.4
I believe that this is related to a bug in the Javac compiler (see
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4269441)
Using this as a base the following addition will enable the class to compile
under JDK1.2.
protected static ClassLoader getContextClassLoader() throws
LogConfigurationException
{
return LogFactory.getContextClassLoader();
}
Can we add this?