Try-with-resources is one of the few things I'd bring with me if I had to leave Java.