aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/bif.c
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2019-05-23 07:22:41 +0200
committerBjörn Gustavsson <[email protected]>2019-05-23 10:12:23 +0200
commit5959fb00182048d50f55d04684723d383d1aeee8 (patch)
treef01d55472255bf60398116eb719ede79dae4011c /erts/emulator/beam/bif.c
parent7fe7fa3dde556b5b92522f8279d465bb52baf1f6 (diff)
downloadotp-5959fb00182048d50f55d04684723d383d1aeee8.tar.gz
otp-5959fb00182048d50f55d04684723d383d1aeee8.tar.bz2
otp-5959fb00182048d50f55d04684723d383d1aeee8.zip
Fix sticky class in exception
When catching an exception re-throwing with a changed class, the class could be changed to the original class if the exception got caught and rethrown in (for example) an after block: sticky_class() -> try try throw(reason) catch throw:Reason:Stack -> erlang:raise(error, Reason, Stack) end after ok end.
Diffstat (limited to 'erts/emulator/beam/bif.c')
0 files changed, 0 insertions, 0 deletions