문제

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