Commit 545ac31
fix: prevent redundant native exceptions on Android/CoreCLR (#5127)
* chore: update scripts/update-java.ps1 to 8.39.0
* fix(android): preload NDK integration for CoreCLR
Enable the io.sentry.ndk.preload metadata so that
SentryNdkPreloadProvider installs sentry-native's signal handlers
before .NET/CoreCLR. This ensures the correct handler chain order
(.NET -> sentry-native -> debuggerd) where .NET handles managed
exceptions first, and native crashes chain to sentry-native.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* clarify CoreCLR signal handler fallback log
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* scope NDK preload imports to the maui test app
Keeps the source-tree Sentry.targets import out of the shared
integration-test/Directory.Build.targets so non-Android integration
tests (AOT, runtime, console) aren't affected.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* skip CoreCLR variants on .NET 9
Android CoreCLR support starts with .NET 10; running the coreclr
cases on net9.0 would fail at build time.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: GitHub <noreply@github.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 8d58989 commit 545ac31
5 files changed
Lines changed: 44 additions & 4 deletions
File tree
- integration-test
- net9-maui
- src/Sentry
- Platforms/Android
- buildTransitive
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
| 21 | + | |
| 22 | + | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
25 | 32 | | |
26 | 33 | | |
27 | 34 | | |
| |||
38 | 45 | | |
39 | 46 | | |
40 | 47 | | |
| 48 | + | |
41 | 49 | | |
42 | 50 | | |
43 | 51 | | |
44 | | - | |
| 52 | + | |
| 53 | + | |
45 | 54 | | |
46 | 55 | | |
47 | 56 | | |
| |||
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
67 | 73 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
69 | 77 | | |
70 | 78 | | |
71 | 79 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
284 | 300 | | |
285 | 301 | | |
286 | 302 | | |
| |||
0 commit comments