https://openjdk.org/jeps/421
One is supposed to use try-with-resources, determinist resource management, or cleaner types.