Summary
Update decription of the "networkaddress.cache.ttl" security property in the net-properties.html
file to address the security mananager removal (JEP 486).
Problem
With the security manager removed, the default value of the JDK-specific "networkaddress.cache.ttl" security property no longer depends on the availability of the security manager. While there is no change in behavior, the net-properties.html
documentation file needs to be updated to reflect that.
Solution
Alter the security property description in net-properties.html
to match the InetAddress
caching behaviour with the security manager removed.
Specification
src/java.base/share/classes/java/net/doc-files/net-properties.html:
@@ -279,8 +279,7 @@
name lookups will be kept in the cache. A value of -1, or any other
negative value for that matter, indicates a “cache forever”
policy, while a value of 0 (zero) means no caching. The default value
- is -1 (forever) if a security manager is installed, and implementation-specific
- when no security manager is installed.</P>
+ is implementation-specific.</P>
- csr of
-
JDK-8344220 Remove calls to SecurityManager and doPrivileged in java.net.InetAddress and sun.net.util.IPAddressUtil after JEP 486 integration
-
- Resolved
-