From e0028af79721600a5c2259fccb3e0227279d6e67 Mon Sep 17 00:00:00 2001 From: Thomas Neidhart Date: Fri, 18 Jan 2013 12:55:13 +0000 Subject: [PATCH] [LOGGING-146] Make nullClassloaderFactory volatile, mark as deprecated. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1435122 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/java/org/apache/commons/logging/LogFactory.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/apache/commons/logging/LogFactory.java b/src/main/java/org/apache/commons/logging/LogFactory.java index 8bd98b4..e0fa6ea 100644 --- a/src/main/java/org/apache/commons/logging/LogFactory.java +++ b/src/main/java/org/apache/commons/logging/LogFactory.java @@ -296,8 +296,9 @@ public abstract class LogFactory { * * Note that factories is a Hashtable (not a HashMap), * and hashtables don't allow null as a key. + * @deprecated since 1.1.2 */ - protected static LogFactory nullClassLoaderFactory = null; + protected static volatile LogFactory nullClassLoaderFactory = null; /** * Create the hashtable which will be used to store a map of