1
0

Added a note about the reason for this change. Might be useful to those that come after us...

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@371089 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Burrell Donkin
2006-01-21 17:19:05 +00:00
parent bc48278ce3
commit df40010452

View File

@@ -409,6 +409,8 @@ public abstract class LogFactory {
if (props != null) { if (props != null) {
String useTCCLStr = props.getProperty(TCCL_KEY); String useTCCLStr = props.getProperty(TCCL_KEY);
if (useTCCLStr != null) { if (useTCCLStr != null) {
// The Boolean.valueOf(useTCCLStr).booleanValue() formulation
// is required for Java 1.2 compatability.
if (Boolean.valueOf(useTCCLStr).booleanValue() == false) { if (Boolean.valueOf(useTCCLStr).booleanValue() == false) {
// Don't use current context classloader when locating any // Don't use current context classloader when locating any
// LogFactory or Log classes, just use the class that loaded // LogFactory or Log classes, just use the class that loaded