RFR: 8326578: Clean up networking properties documentation [v3]

Daniel Jeliński djelinski at openjdk.org
Thu Feb 29 15:30:52 UTC 2024


On Thu, 29 Feb 2024 14:58:24 GMT, Michael McMahon <michaelm at openjdk.org> wrote:

>> Daniel Jeliński has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Clarify default ProxySelector
>
> src/java.base/share/classes/java/net/doc-files/net-properties.html line 155:
> 
>> 153: 			'*' can be used for pattern matching. For example,
>> 154: 			{@code -DsocksNonProxyHosts="*.foo.com|localhost"}
>> 155: 			will indicate that every host in the foo.com domain and the
> 
> Suggestion:
> 
> 			will indicate that every host in the foo.com domain (excluding sub-domains) and the

could you remind me what sub-domains mean in this context?
For reference, `*.foo.bar` will match `www.foo.bar` and `a.b.c.foo.bar`, but not `foo.bar`; internally `*` matches any string, including dots.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/17988#discussion_r1507770034


More information about the net-dev mailing list