Currently exception handling is implemented using old-fashioned return status check. Since Wasm EH is supported in all major browsers, it should be used to implement exceptions in TeaVM as well. This should be implemnted behind a switch, since some WASI runtimes still don't support Wasm EH.
Currently exception handling is implemented using old-fashioned return status check. Since Wasm EH is supported in all major browsers, it should be used to implement exceptions in TeaVM as well. This should be implemnted behind a switch, since some WASI runtimes still don't support Wasm EH.