It's documented that useProxySelector takes precedence.  This is consistent with the current behaviour that if the user has configured both a proxyServer instance, and useProxyProperties, proxyServer takes precedence, and the fact is documented.