On Wed, 20 Nov 2024 06:58:36 GMT, Andrey Turbanov <aturba...@openjdk.org> wrote:

>> Trivial removal of the use of the `SecurityManager` from a single class.
>
> 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.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/22251#discussion_r1850326305

Reply via email to