[jdk8u-dev] RFR: 8255559: Leak File Descriptors Because of ResolverLocalFilesystem#engineResolveURI()

Andrew John Hughes andrew at openjdk.org
Wed Nov 9 16:02:45 UTC 2022


Clean backport from 11u which fixes a resource leak.

Although the indentation changes in the diff make it a little unclear, the only change is to wrap the block in a `try-finally` clause (more visible with `git diff -b`)

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

Commit messages:
 - Backport d53072236c503295b893efa6372c869ac84fa688

Changes: https://git.openjdk.org/jdk8u-dev/pull/165/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=165&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8255559
  Stats: 44 lines in 1 file changed: 17 ins; 11 del; 16 mod
  Patch: https://git.openjdk.org/jdk8u-dev/pull/165.diff
  Fetch: git fetch https://git.openjdk.org/jdk8u-dev pull/165/head:pull/165

PR: https://git.openjdk.org/jdk8u-dev/pull/165


More information about the jdk8u-dev mailing list