8274893: Update java.desktop classes to use try-with-resources

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

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

Changes: https://git.openjdk.java.net/jdk/pull/5817/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=5817&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8274893
  Stats: 217 lines in 24 files changed: 20 ins; 105 del; 92 mod
  Patch: https://git.openjdk.java.net/jdk/pull/5817.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/5817/head:pull/5817

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

Reply via email to