We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9be8ac6 commit c4c6b1fCopy full SHA for c4c6b1f
src/jdk.jdi/share/classes/com/sun/tools/jdi/VirtualMachineManagerImpl.java
@@ -59,13 +59,6 @@ public class VirtualMachineManagerImpl implements VirtualMachineManagerService {
59
private static VirtualMachineManagerImpl vmm;
60
61
public static VirtualMachineManager virtualMachineManager() {
62
- @SuppressWarnings("removal")
63
- SecurityManager sm = System.getSecurityManager();
64
- if (sm != null) {
65
- JDIPermission vmmPermission =
66
- new JDIPermission("virtualMachineManager");
67
- sm.checkPermission(vmmPermission);
68
- }
69
synchronized (lock) {
70
if (vmm == null) {
71
vmm = new VirtualMachineManagerImpl();
0 commit comments