I have searched a lot to find the implementation of finally block by java implementers.

I want to know how java evaluates finally block.

Does anybody know how finally block is defined in java language?

有帮助吗?

解决方案

The implementation is going to be JVM dependent, but will follow the JVM Specifications #3.13.

finally behaves like a "catch all" in the exceptions table, with the proper redirections in the bytecode.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top