• Bug
  • Status: Closed
  • 2 Major
  • Resolution: Fixed
  • ehcache-core
  • cdennis
  • Reporter: cdennis
  • March 08, 2012
  • 0
  • Watchers: 0
  • July 27, 2012
  • March 08, 2012


There is a small bug in DefaultSizeOfEngine in the resource based loading of custom size-of filter rules. Instead of using the value of the “net.sf.ehcache.sizeof.filter” system property as the resource name we use the “net.sf.ehcache.sizeof.filter” value directly. The fix is very simple, and I have added test coverage to ensure all three forms of filter loading work correctly.

Credit to forum user “papas” for alerting us to this bug: http://forums.terracotta.org/forums/posts/list/6754.page