RFR: 8280414: Memory leak in DefaultProxySelector

Daniel Jeliński djelinski at openjdk.java.net
Fri Jan 21 10:59:52 UTC 2022


On Fri, 21 Jan 2022 08:25:30 GMT, Daniel Jeliński <djelinski at openjdk.org> wrote:

> We were leaking the list returned by `createProxyList`. Verified that the leak is no longer present with this patch. Also removed a few unused variables.
> 
> Reported by clang-tidy.

Tested locally. Returned values look correct, and the leak is removed. I also run jdk_net test suite, all green.

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

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


More information about the net-dev mailing list