• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ben-manes / caffeine / #5554
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: v3.dev
DEFAULT BRANCH: master
Ran 28 Jun 2026 07:21AM UTC
Jobs 1
Files 78
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

28 Jun 2026 07:09AM UTC coverage: 99.988%. Remained the same
#5554

push

github

ben-manes
fix three jcache cache close issues and switch from revapi to roseau

- A stale CacheProxy.close() deregistered by name via destroyCache, so a
  same-named cache created concurrently could be evicted and closed. It
  now deregisters by identity (caches.remove(name, this)) through a new
  CacheManagerImpl overload; the proxy's manager reference is narrowed to
  CacheManagerImpl so the call needs no cast.

- enableManagement, enableStatistics, and (de)registerCacheEntryListener
  checked requireNotClosed() before taking the configuration monitor that
  close() tears down under, so a toggle racing close could re-register a
  JMX bean and pin the closed proxy in the MBeanServer. The check now runs
  inside the lock, matching loadAll.

- close() also ran tryClose(executor); on JDK 19+ that calls
  ExecutorService.close(), which awaits termination for up to a day and
  defeats shutdownExecutor()'s bounded shutdown. The executor is already
  shut down there, so the redundant close() is dropped.

4050 of 4056 branches covered (99.85%)

12 of 12 new or added lines in 3 files covered. (100.0%)

8246 of 8247 relevant lines covered (99.99%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #5554.1 28 Jun 2026 07:21AM UTC 78
99.99
Source Files on build #5554
  • Tree
  • List 78
  • Changed 4
  • Source Changed 4
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • ba069279 on github
  • Prev Build on v3.dev
  • Next Build on v3.dev
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc