You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f9a4595
Browse filesBrowse the repository at this point in the historyBrowse files
fix: Narrow Throwable catches where LinkageError is expected
ExceptionUtils.rethrowIfFatal rethrows LinkageError, but at these sites a LinkageError is
the expected failure: a native library that failed to load, an optional dependency that is
missing, or a Compose or androidx version that doesn't match. Catch it explicitly first, and
narrow the rest to the types the guarded code throws. Where the code calls app views, user
integrations or JNI, keep the broad catch and call rethrowIfFatal after the LinkageError arm.
Also stop QueueFile from deleting its file on an OutOfMemoryError, stop Installation from
wrapping one in a RuntimeException, and stop the Ktor client integration from swallowing
coroutine cancellation while reading the response body.
Refs JAVA-552
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
0 commit comments