On Fri, 20 Oct 2023 08:03:01 GMT, Daniel Jeliński <djelin...@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