smallx edited a comment on pull request #3000:
URL: https://github.com/apache/iceberg/pull/3000#issuecomment-904335864


   thanks @kbendick 
   
   `try-with-resources` is just a syntactic sugar. `try-with-resources` block 
and `try-finally` block are the same at the bytecode level. These code block 
may not end normally if the thread that executing these code is terminated.
   
   Refer to the Java documentation: 
https://docs.oracle.com/javase/tutorial/essential/exceptions/finally.html


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to