DefaultProxySelector.c creates a handle 'session' in the initialization 
process, but misses to close it in case the initialization process fails.

In case of a successful initialization process, we seem to keep the handle too 
and do not close it but this might be okay (?) .

---------
- [x] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

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

Commit messages:
 - JDK-8393678

Changes: https://git.openjdk.org/jdk/pull/33231/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=33231&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8393678
  Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/33231.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/33231/head:pull/33231

PR: https://git.openjdk.org/jdk/pull/33231

Reply via email to