[ipv6] RFR: 8223214: Inet6AddressImpl.loopbackAddress() should choose loopback address that is available

Alan Bateman Alan.Bateman at oracle.com
Thu May 2 06:43:02 UTC 2019


On 01/05/2019 23:53, Arthur Eubanks wrote:
> Webrev: http://cr.openjdk.java.net/~aeubanks/8223214/webrev.00/
> Bug: https://bugs.openjdk.java.net/browse/JDK-8223214
>
NetworkInterface.getByInetAddress denies knowledge of addresses that you 
don't have a permission to connect to so I think this will need a 
privileged block for cases where you run with a security manager. That 
scenario may need a new test too, if only to make sure that early use 
will untrusted code on the stack will pick up the right loopback.

-Alan


More information about the net-dev mailing list