JDK-8195605 : System proxy exclusion list parsing does not handle wildcard at the end like 192.168.1.*
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 8,9,10
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows
  • CPU: x86_64
  • Submitted: 2018-01-12
  • Updated: 2018-02-13
  • Resolved: 2018-01-17
Related Reports
Duplicate :  
Description
FULL PRODUCT VERSION :
java version "1.8.0_151"
Java(TM) SE Runtime Environment (build 1.8.0_151-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.151-b12, mixed mode)

ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 10.0.14393]

A DESCRIPTION OF THE PROBLEM :
I use windows system-wide proxy configuration to exclude certain IP addresses.

I notice that if I specify an IP address like this:

  192.168.1

java will correctly exclude the entire range of 192.168.1.0 to 192.168.1.255

However, if I specify the range like this:

  192.168.1.*

It does not work. 

IE/Chrome/Firefox/etc do not appear to have a problem with this format.


REPRODUCIBILITY :
This bug can be reproduced always.