The problem is that the proxyselector is being called at all. I have a real use case where i use the proxy selector to request proxy information for the user. To do that i have to make a (very dirty) url connection to a set of sites one of which i assume to be always up. This is recursive. To avoid that recursion i thought i could use that call, since the javadoc states:
"Same as openConnection(), except that the connection will be made through the specified proxy; Protocol handlers that do not support proxing will ignore the proxy parameter and make a normal connection. Calling this method *preempts the system's default ProxySelector settings.* " I can and do avoid it with a object boolean, but i thought you should know.