Compiling Try/Catch/Finally on the JVM | Development at Guidewire
finally blocks are implemented by inlining the finally code at all possible exits from the try or associated catch blocks, wrapping the whole thing in essentially a "catch(Throwable)" block that rethrows the exception when it finishes, and then adjusting the exception table such that the catch clauses skip over the inlined finally statements.Read full article from Compiling Try/Catch/Finally on the JVM | Development at Guidewire
No comments:
Post a Comment