originalStackTrace property
The stack trace that accompanied originalException at the point the bridged adapter threw it.
Recovering the value was never enough on its own. The wrapper is
constructed in the interpreter's own catch block, so an interpreted
catch (e, st) used to receive the trace of the wrap site rather than of
the throw — which makes Error.throwWithStackTrace inert, since preserving
an earlier trace is the only thing that member does. Carrying the trace
alongside the value lets visitTryStatement hand the script what actually
happened.
Implementation
final StackTrace? originalStackTrace;