Skip to content

Upgrade to Java 17 and migrate to Ehcache 3.x#24

Merged
lesserwhirls merged 3 commits into
Unidata:unidata_mainfrom
lesserwhirls:ehc_pass2
Jun 25, 2026
Merged

Upgrade to Java 17 and migrate to Ehcache 3.x#24
lesserwhirls merged 3 commits into
Unidata:unidata_mainfrom
lesserwhirls:ehc_pass2

Conversation

@lesserwhirls

Copy link
Copy Markdown
Member
  • Updated Java source and target versions to 17 in root pom.xml (required by latest ehcache3)
  • Migrated from Ehcache 2.x (net.sf.ehcache) to Ehcache 3.12.0 (org.ehcache)
  • Refactored EdalCache to use Ehcache 3 CacheManagerBuilder
  • Added EdalCache.murmur3Finalize() for better hash distribution in cache keys
  • Updated DataCatalogue, Domain2DMapper, HorizontalMesh4dDataset, and OnDemandVtkDataSource to use the new Ehcache 3 API and improved hashCode() implementations
  • Updated WmsContextListener to properly close the new CacheManager
  • Added JAXB exclusion to the new ehcache dependency

* Updated Java source and target versions to 17 in root pom.xml (required by latest ehcache3)
* Migrated from Ehcache 2.x (net.sf.ehcache) to Ehcache 3.12.0 (org.ehcache)
* Refactored `EdalCache` to use Ehcache 3 `CacheManagerBuilder`
* Added `EdalCache.murmur3Finalize()` for better hash distribution in cache keys
  * see Reading-eScience-Centre#171 (comment)
* Updated `DataCatalogue`, `Domain2DMapper`, `HorizontalMesh4dDataset`, and `OnDemandVtkDataSource` to use the new Ehcache 3 API and improved `hashCode()` implementations
* Updated `WmsContextListener` to properly close the new `CacheManager`
* Added JAXB exclusion to the new ehcache dependency
@lesserwhirls lesserwhirls merged commit c15bac6 into Unidata:unidata_main Jun 25, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant