RFR: 8344218: Remove calls to SecurityManager and and doPrivileged in java.net.NetworkInterface after JEP 486 integration [v2]

Alan Bateman alanb at openjdk.org
Sun Nov 17 12:45:45 UTC 2024


On Sun, 17 Nov 2024 09:24:59 GMT, Eirik Bjørsnøs <eirbjo at openjdk.org> wrote:

> Okay, so "not only security manager related then" :-) The current implementation does return null on checkPermission failure, but yes, there are other ways null may be returned.

JEP 486 removed the sentence "If a security manager is set .." and changed the return description. There are platforms where the process needs privileges or capabilities to read the hardware address so that the motive for the description. Thanks for dropping this change from the PR/CSR.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/22177#discussion_r1845446000


More information about the net-dev mailing list