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

ben-manes / caffeine / #2533 / 1
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 08 Dec 2020 05:33AM UTC
Files 77
Run time 8s
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

08 Dec 2020 04:44AM UTC coverage: 93.208% (+0.06%) from 93.148%
#2533.1

push

other

ben-manes
Fix NPE when on the bootclasspath (fixes #481)

To reduce runtime overhead due to fields needed only by certain
configurations, code generation is used and reflection loads the
optimal implementation classes. This trades off a small amount of
disk space for reduced memory usage.

Unfortunately the wrong classloader method was used, which is not
available on the bootclasspath (null value). This fails when the
cache is used by a compiler, e.g. ErrorProne's javac fork. Instead
Class.forName is now used which should resolve to a non-null,
acceptable class loader. It appears as if this should be the same
loader as before, or else the system loader if on the bootclasspath.

6230 of 6684 relevant lines covered (93.21%)

0.93 hits per line

Source Files on job #2533.1
  • Tree
  • List 0
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2533
  • c1ed0888 on github
  • Prev Job for on master (##2532.1)
  • Next Job for on master (##2534.1)
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