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
The methods, `getCausalChain` and `getCauseAs`, have existed for years. They work reliably and we are unlikely to change their APIs.
The remaining two `@Beta` methods, `lazyStackTrace` and `lazyStackTraceIsLazy`, should probably be deprecated in a later step. The optimization they encapsulate no longer works on JDK versions ≥ 9 and has never worked on Android. Meanwhile, JDK 9 introduced the `StackWalker` API which does work and covers the most usual use case of `lazyStackTrace`.
RELNOTES=The `Throwables` methods `getCausalChain` and `getCauseAs` were `@Beta` but are now fully supported.
PiperOrigin-RevId: 422652352
0 commit comments