• Bug
  • Status: Resolved
  • 2 Major
  • Resolution: Fixed
  • ehcache-core
  • cdennis
  • Reporter: mikas
  • February 13, 2012
  • 0
  • Watchers: 1
  • March 01, 2013
  • January 22, 2013

Description

In RegisteredEventListeners constructor. Line 76 (v. 2.5.0): bq. helper = new CacheStoreHelper((Cache)cache);

Object with interface Ehcache is casted to one of its implementing classes Cache without any checks making Cache and its subclasses effectively the only implementations that can be used with the constructor.

Comments