JDK-8293656 : Update net-properties.html to match the InetAddress addresses caching policy
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.net
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • OS: generic
  • CPU: generic
  • Submitted: 2022-09-12
  • Updated: 2022-12-07
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
tbdUnresolved
Related Reports
Relates :  
Relates :  
Description
In the first paragraph of the "AddressCache" section of net-properties.html it is stated that reverse lookup results are also cached.

The java.net.InetAddress class only caches forward lookup (name lookup) results. Reverse lookup (address lookup) results are not cached.

"java/net/doc-files/net-properties.html" should be updated to match the source code, and the description of "networkaddress.cache.ttl" and "networkaddress.cache.negative.ttl" provided in the same section.