RFR: 8274881: Update jdk.compiler classes to use try-with-resources

Andrey Turbanov github.com+741251+turbanoff at openjdk.java.net
Thu Oct 7 08:17:23 UTC 2021


8274881: Update jdk.compiler classes to use try-with-resources

-------------

Commit messages:
 - [PATCH] Update jdk.compiler classes to use try-with-resources
 - [PATCH] Update jdk.compiler classes to use try-with-resources
 - [PATCH] Use try-with-resources to close FileInputStream in jdk.compiler

Changes: https://git.openjdk.java.net/jdk/pull/5816/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=5816&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8274881
  Stats: 34 lines in 4 files changed: 0 ins; 23 del; 11 mod
  Patch: https://git.openjdk.java.net/jdk/pull/5816.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/5816/head:pull/5816

PR: https://git.openjdk.java.net/jdk/pull/5816


More information about the compiler-dev mailing list