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

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

Build:
Build:
LAST BUILD BRANCH: v3.dev
DEFAULT BRANCH: master
Ran 23 Feb 2026 05:33AM 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

23 Feb 2026 04:50AM UTC coverage: 99.937% (-0.03%) from 99.962%
#5321

push

github

ben-manes
fix minor expiration edge cases

1. The calculated remaining duration was incorrect in the
Policy.CacheEntry snapshot by giving a higher value. The mapping will
expire at the correct time.
2. Map.entrySet().contains(entry) now returns false if the entry is
present but has expired and is pending eviction.
3. JCache's Duration.ETERNAL returns a null TimeUnit. Previously this
caused the cache to log a failure when updating Caffeine's metadata,
though the eternal would be honored as set correctly on the adapter's
wrapped value.
4. JCache's expiry time now ensures that the sentinel flags, 0 and
Long.MAX_VALUE, are avoided in wrap around calculations due to
System.nanoTime() being randomized. In these cases the duration is
adjusted to occur up to 1ms sooner.

3838 of 3850 branches covered (99.69%)

19 of 21 new or added lines in 2 files covered. (90.48%)

7883 of 7888 relevant lines covered (99.94%)

1.0 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
99.27
-0.29% jcache/src/main/java/com/github/benmanes/caffeine/jcache/CacheProxy.java
Jobs
ID Job ID Ran Files Coverage
1 #5321.1 23 Feb 2026 05:33AM UTC 78
99.94
Source Files on build #5321
  • Tree
  • List 78
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • ca49c08b on github
  • Prev 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