> 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).
Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision: Reset Session to NULL in failure case ------------- Changes: - all: https://git.openjdk.org/jdk/pull/33231/files - new: https://git.openjdk.org/jdk/pull/33231/files/4f101e3a..8b827e53 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=33231&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=33231&range=00-01 Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 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
