diff --git a/src/java/org/apache/commons/logging/LogFactory.java b/src/java/org/apache/commons/logging/LogFactory.java index 2a15a9c..342c260 100644 --- a/src/java/org/apache/commons/logging/LogFactory.java +++ b/src/java/org/apache/commons/logging/LogFactory.java @@ -1427,7 +1427,7 @@ public abstract class LogFactory { // default behaviour of java is to cache file handles, and // this "locks" files, preventing hot-redeploy on windows. URLConnection connection = url.openConnection(); - connection.setDefaultUseCaches(false); + connection.setUseCaches(false); stream = connection.getInputStream(); if (stream != null) { Properties props = new Properties();