Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove
@Beta
from two methods in Throwables
.
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
- Loading branch information