RFR: 8344562: Remove security manager dependency from module jdk.jdi
Brian Burkhalter
bpb at openjdk.org
Wed Nov 20 16:04:40 UTC 2024
On Wed, 20 Nov 2024 13:33:27 GMT, Sean Mullan <mullan at openjdk.org> wrote:
>> src/jdk.jdi/share/classes/com/sun/tools/jdi/VirtualMachineManagerImpl.java line 65:
>>
>>> 63: SecurityManager sm = System.getSecurityManager();
>>> 64: if (sm != null) {
>>> 65: JDIPermission vmmPermission =
>>
>> `JDIPermission` is now unused
>
> It is a standard API, so we cannot remove it unless we go through a deprecation process, and it is ok to leave it for now. We will consider deprecating it (and other `Permission` subclasses) for removal in JDK 25.
Leaving as is.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/22251#discussion_r1850586043
More information about the serviceability-dev
mailing list