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

apache / bookkeeper / 12
72%

Build:
DEFAULT BRANCH: master
Ran 05 Mar 2018 02:32PM UTC
Jobs 1
Files 393
Run time 29s
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
12

push

jenkins

sijie
Fix AbstractLedgerManagerFactory on handling both shaded class and original class co-exists case

Descriptions of the changes in this PR:

*Problem*

#1217 addresses the issue when using a shaded class accessing a bookkeeper cluster.  However the assumption was made when the classpath only has shaded classes. However, it didn't address the case when shaded class and original class can co-exist. because IOException is thrown instead of ClassNotFoundException at following code:

```
                Class<?> theCls = Class.forName(layout.getManagerFactoryClass());
                if (!LedgerManagerFactory.class.isAssignableFrom(theCls)) {
                    throw new IOException("Wrong ledger manager factory " + layout.getManagerFactoryClass());
                }
```

*Solution*

This change fixes the issue.

Author: Sijie Guo <sijie@apache.org>

Reviewers: Jia Zhai <None>, Matteo Merli <mmerli@apache.org>

This closes #1227 from sijie/debug_issue

22748 of 31389 relevant lines covered (72.47%)

0.72 hits per line

Jobs
ID Job ID Ran Files Coverage
1 12.1 05 Mar 2018 02:32PM UTC 0
72.47
Source Files on build 12
Detailed source file information is not available for this build.
  • Back to Repo
  • Jenkins Build #12
  • 3e51b811 on github
  • Prev Build on master (#11)
  • Next Build on master (#13)
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