RFR: 8344177: Remove SecurityManager and related calls from java.management [v10]
Daniel Fuchs
dfuchs at openjdk.org
Wed Dec 4 13:21:50 UTC 2024
On Wed, 4 Dec 2024 13:13:11 GMT, Alan Bateman <alanb at openjdk.org> wrote:
>> src/java.management/share/classes/javax/management/MBeanServerFactory.java line 368:
>>
>>> 366:
>>> 367: // No context class loader? Try with Class.forName()
>>> 368: return Class.forName(builderClassName);
>>
>> Maybe we should keep that call to ReflectUtil here for the moment?
>
> The java.management module is mapped to the boot loader so it's okay to replace the use of ReflectUtil.forName with Class.forName here (no behavior change).
OK - I withdraw my objection then
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/22100#discussion_r1869478007
More information about the serviceability-dev
mailing list