• Patch
  • Status: New
  • 2 Major
  • Resolution:
  • ljacomet
  • Reporter: ebourg
  • April 06, 2014
  • 0
  • Watchers: 3
  • April 07, 2014

Attachments

Description

{{CacheConfigurationElement}} fails to compile with Java 8 due to the following error:

 /home/ebourg/packaging/ehcache/src/main/java/net/sf/ehcache/config/generator/model/elements/CacheConfigurationElement.java:145: error: incompatible types: Object cannot be converted to FactoryConfigurationElement
         for (FactoryConfigurationElement child : getAllFactoryElements(element, "cacheEventListenerFactory", cacheConfiguration
                                                                       ^

I’m attaching a patch fixing this issue.

Comments