Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
jcs-1.3
-
None
Description
When calling ConfigureCacheManager.configure(properties, false) with a Properties instance containing defaults, the defaults are not correctly read. The problem is in PropertySetter.java:135
for ( Enumeration e = properties.keys(); e.hasMoreElements(); )
...
Instead of calling properties.keys(), it should be calling properties.propertyNames(). The call to propertyNames() correctly refer to configured defaults, and keys() does not. This should be a simple fix, how does one create a patch?