RFR: 8274809: Update java.base classes to use try-with-resources

Andrey Turbanov github.com+741251+turbanoff at openjdk.java.net
Wed Oct 6 07:12:20 UTC 2021


8274809: Update java.base classes to use try-with-resources

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

Commit messages:
 - [PATCH] Use try-with-resources to close FileInputStream in java.base

Changes: https://git.openjdk.java.net/jdk/pull/5818/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=5818&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8274809
  Stats: 54 lines in 7 files changed: 2 ins; 40 del; 12 mod
  Patch: https://git.openjdk.java.net/jdk/pull/5818.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/5818/head:pull/5818

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



More information about the security-dev mailing list