diff options
-rw-r--r-- | src/java/org/apache/fop/fo/properties/PropertyCache.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/fo/properties/PropertyCache.java b/src/java/org/apache/fop/fo/properties/PropertyCache.java index 76ed35d76..f35ab2dad 100644 --- a/src/java/org/apache/fop/fo/properties/PropertyCache.java +++ b/src/java/org/apache/fop/fo/properties/PropertyCache.java @@ -82,7 +82,9 @@ public final class PropertyCache<T> { System.getProperty("org.apache.fop.fo.properties.use-cache", "true")) .booleanValue(); } catch ( SecurityException e ) { - useCache = false; + useCache = true; + LOG.info("Unable to access org.apache.fop.fo.properties.use-cache" + + " due to security restriction; defaulting to 'true'."); } if ( useCache ) { this.map = new ConcurrentHashMap<Integer, WeakReference<T>>(); |