Try-with-resources or use()

Andrey said about try-with-resources as a dedicated language feature. use() standard library function have been available for a long time.