On Mon, Apr 25, 2022 at 8:09 AM <remi.catheri...@orange.com> wrote:
> because it would still run finally blocks, which cannot happen for no return 
> methods like System.exit and Runtime.halt

FWIW I don't think this is correct. `exit` and `halt` etc. cannot
*return* but they're definitely allowed to throw an exception
(`SecurityException` is presently specified) and thus are allowed to
unwind the stack, even through `finally` blocks.

-- 
- DML • he/him

Reply via email to