RFR: 8344327: SM cleanup in jdk.unsupported ReflectionFactory

Sean Mullan mullan at openjdk.org
Mon Nov 18 20:39:48 UTC 2024


On Fri, 15 Nov 2024 18:32:58 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

> This cleanup of the use of SecurityManager is in the jdk.unsupported module.
> Removed the permission check to call getReflectionFactory().

What about `sun.misc.Unsafe`? There are a couple of `AccessController.doPrivileged` calls.

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

PR Comment: https://git.openjdk.org/jdk/pull/22158#issuecomment-2484076615


More information about the core-libs-dev mailing list