JDK-6819122 : DefaultProxySelector should lazily initialize the Pattern object and the NonProxyInfo objects
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
DefaultProxySelector has a few static variables (e.g. ftpNonProxyInfo and httpNonProxyInfo and the Pattern object) that are not always needed at startup. We can defer its initialization until it's needed.
See attached jdk.patch.
Defer the initialization of the static fields.