JDK-8248394 : Add UNSPEC to the list of standard protocol families
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.net
  • Priority: P4
  • Status: Closed
  • Resolution: Not an Issue
  • Submitted: 2020-06-26
  • Updated: 2021-11-12
  • Resolved: 2021-11-12
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.

To download the current JDK release, click here.
Other
tbdResolved
Related Reports
Relates :  
Description
Add UNSPEC enum to the StandardProtocolFamily class that will denote any/unspecified protocol family, similar to AF_UNSPEC.
It could be used as a hint for INET name services to return addresses for any protocol family - both INET and INET6.
Comments
JEP 418 adds InetAddressResolver.LookupPolicy class that can be used to ask the system-wide resolver to return addresses for any protocol family (IPv4 and IPv6).
12-11-2021