RFR: JDK-8241138: http.nonProxyHosts=* causes StringIndexOutOfBoundsException in DefaultProxySelector

Jaikiran Pai jai.forums2013 at gmail.com
Wed Mar 18 11:18:40 UTC 2020


Can I please get a review and a sponsor for a patch which fixes the
issue reported in JDK-8241138[1]?

The patch is hosted as a webrev at [2]. The change in the patch now adds
an explicit equals check for "*" before checking it for various other
possible patterns. The patch also updates an existing testcase to
include test for this specific scenario.


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

[2] https://cr.openjdk.java.net/~jpai/webrev/8241138/1/webrev/

-Jaikiran



More information about the net-dev mailing list