In other words: Footgun #17421 Exhibit A.
What the blog doesn't mention is how try finally can mess up your control flow.
In Java the following is perfectly valid:
try { throw new IllegalStateException("Critical error"); } finally { return "Move along, nothing to see here"; }
What the blog doesn't mention is how try finally can mess up your control flow.
In Java the following is perfectly valid:
try { throw new IllegalStateException("Critical error"); } finally { return "Move along, nothing to see here"; }