Chris Hegarty chris.hegarty at oracle.com
Thu Nov 8 12:18:33 UTC 2018


On 07/11/18 15:24, MUELLER-SCHRAMM Gerd wrote:
> Hi,
> I’ve got a question regarding JDK-7014531 
> <https://bugs.openjdk.java.net/browse/JDK-7014531>. This bug is still 
> open and after checking it against Java 11 still valid. Will it ever be 
> fixed?
> > I’ve took a look at the source code and the bug seems to be in
> DefaultProxySelector.c, 
> Java_sun_net_spi_DefaultProxySelector_getSystemProxies.
> This method doesn’t care about wildcards but only compares the host names.

There is certainly some support for wildcards in nonProxyHosts.
There are a few proxy selector tests that verify that ( [1]
seems to be the most comprehensive ).

The fix for 8170868 [2], provides better integrates with the
system proxy configuration.

I've added a comment to 7014531. Maybe there is still an issue
but it is not clear from 7014531 what that might be.


[1] https://bugs.openjdk.java.net/browse/JDK-8170868

More information about the net-dev mailing list