RFR: 8318130: SocksSocketImpl needlessly encodes hostname for IPv6 addresses

Alan Bateman alanb at openjdk.org
Fri Oct 20 08:40:38 UTC 2023


On Fri, 20 Oct 2023 08:03:01 GMT, Daniel Jeliński <djelinski at openjdk.org> wrote:

> ProxySelector.getDefault may return null if someone explicitly calls ProxySelector.setDefault(null); otherwise it's initialized to an instance of DefaultProxySelector

Right, I guess part of my puzzlement is to understand why ProxySelector loads sun.net.spi.DefaultProxySelector reflectively. Slightly off topic from this PR but it looks like this is left over from the past.

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

PR Comment: https://git.openjdk.org/jdk/pull/16265#issuecomment-1772317249


More information about the net-dev mailing list