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

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

Build:
Build:
LAST BUILD BRANCH: v3.dev
DEFAULT BRANCH: master
Ran 13 Jul 2026 03:39AM 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

13 Jul 2026 03:24AM UTC coverage: 99.988%. Remained the same
#5621

push

github

ben-manes
Wrap jcache copier failures as CacheException across CacheProxy

CacheProxy.get/getAll propagated a store-by-value copier's non-
CacheException RuntimeException raw, while LoadingCacheProxy wrapped it,
so the same call surfaced a different exception type depending on whether
the cache was read-through. Per JSR-107 each operation @throws
CacheException on a problem fetching/doing, and the RI's read-copy
(fromInternal) throws CacheException.

Fold the copy helpers behind a single copyOf that rethrows
NPE/ISE/CCE/CacheException raw and wraps any other RuntimeException in
CacheException, so every method (get/getAll/getAnd*/put*/replace*/
iterator) is consistent; the copier is the only user-pluggable
non-CacheException vector. copyOf is strict (non-null parameter) so
NullAway enforces the assumed non-null at each call site, and the three
getAndX prior-value returns guard the null explicitly. The loader
adapter's own copy stays CacheLoaderException (a CacheException subtype,
correct for the load flow).

4143 of 4154 branches covered (99.74%)

18 of 18 new or added lines in 2 files covered. (100.0%)

8412 of 8413 relevant lines covered (99.99%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #5621.1 13 Jul 2026 03:39AM UTC 78
99.99
Source Files on build #5621
  • Tree
  • List 78
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 9f9da162 on github
  • Prev Build on v3.dev
  • Next Build on v3.dev
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc