From df40010452b279b7cc08b681ce328112bcb05e7c Mon Sep 17 00:00:00 2001 From: Robert Burrell Donkin Date: Sat, 21 Jan 2006 17:19:05 +0000 Subject: [PATCH] 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 --- src/java/org/apache/commons/logging/LogFactory.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/java/org/apache/commons/logging/LogFactory.java b/src/java/org/apache/commons/logging/LogFactory.java index 81c1338..eb0f011 100644 --- a/src/java/org/apache/commons/logging/LogFactory.java +++ b/src/java/org/apache/commons/logging/LogFactory.java @@ -409,6 +409,8 @@ public abstract class LogFactory { if (props != null) { String useTCCLStr = props.getProperty(TCCL_KEY); if (useTCCLStr != null) { + // The Boolean.valueOf(useTCCLStr).booleanValue() formulation + // is required for Java 1.2 compatability. if (Boolean.valueOf(useTCCLStr).booleanValue() == false) { // Don't use current context classloader when locating any // LogFactory or Log classes, just use the class that loaded