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

Alan-Jowett / sonde / 23309406050
82%

Build:
DEFAULT BRANCH: main
Ran 19 Mar 2026 06:06PM UTC
Jobs 1
Files 71
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

19 Mar 2026 06:00PM UTC coverage: 82.632%. Remained the same
23309406050

push

github

web-flow
fix(android): cache JNI class refs in JNI_OnLoad to fix classloader crash (#316)

* fix(android): cache JNI class refs in \JNI_OnLoad\ to fix classloader crash

On Android, \FindClass\ for app-defined classes (e.g. \BleHelper\,
\SecureStore\) fails with \ClassNotFoundException\ when called from
natively-attached threads (tokio blocking pool).  These threads only
see the system classloader, not the application classloader.

Cache \GlobalRef\ to each app class during \JNI_OnLoad\ — which runs
on the main thread with the correct classloader — and use those cached
refs in \AndroidBleTransport::new()\ and \AndroidPairingStore::new()\.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* fix(android): address review — remove panics from JNI_OnLoad, update docs

- Replace expect()/unwrap() in JNI_OnLoad with fallible inner function
  that returns JNI_ERR instead of panicking across the JNI boundary (UB).
- Update doc comments on AndroidBleTransport::new() and
  AndroidPairingStore::new() to document the cache_helper_class() /
  cache_store_class() prerequisite.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* style: cargo fmt

---------

Co-authored-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

16523 of 19996 relevant lines covered (82.63%)

49.62 hits per line

Jobs
ID Job ID Ran Files Coverage
1 23309406050.1 19 Mar 2026 06:06PM UTC 71
82.63
GitHub Action Run
Source Files on build 23309406050
  • Tree
  • List 71
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23309406050
  • bac7404d on github
  • Prev Build on main (#23306737354)
  • Next Build on main (#23315011904)
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