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

ben-manes / caffeine / #3460
100%

Build:
DEFAULT BRANCH: master
Ran 16 Dec 2022 11:33PM UTC
Jobs 1
Files 77
Run time 2s
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

pending completion
#3460

push

github-actions

ben-manes
defensively copy prior to JCache putAll (fixes #841)

Previuously, calling javax.cache.Cache.putAll(Map) with an immutable map
caused an UnsupportedOperationException if the CacheWriter throws an
exception. The problem with this is that you loose the original
exception from the CacheWriter and thus do not know what the root cause
was.

The underlying problem is that CacheWriter requires that the map
argument must be mutable so that it can communicate a partial success.
It appears that the TCK does not assert that mutation must be exposed
back to the Cache.putAll caller, so a defensive copy into a mutable map
satisfies the contracts and allows callers to use an immutable map.

Co-authored-by: Ken Dombeck <kdombeck@gmail.com>

7462 of 7547 relevant lines covered (98.87%)

0.99 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #3460.1 16 Dec 2022 11:33PM UTC 0
98.87
Source Files on build #3460
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #3460
  • ca98c54f on github
  • Prev Build on master
  • Next Build on master
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