8224673: Adjust permission for delayed starting of debugging
authorrschmelter
Fri, 24 May 2019 04:18:18 -0700
changeset 55560 cb0131439e9d
parent 55559 38c73e24fa7b
child 55561 4c0a7916d3cd
8224673: Adjust permission for delayed starting of debugging Summary: Changed permission from monitor to control Reviewed-by: sspitsyn, clanger
src/hotspot/share/services/diagnosticCommand.hpp
--- a/src/hotspot/share/services/diagnosticCommand.hpp	Tue Jun 25 11:43:36 2019 +0200
+++ b/src/hotspot/share/services/diagnosticCommand.hpp	Fri May 24 04:18:18 2019 -0700
@@ -880,7 +880,7 @@
     return "High: Switches the VM into Java debug mode.";
   }
   static const JavaPermission permission() {
-    JavaPermission p = { "java.lang.management.ManagementPermission", "monitor", NULL };
+    JavaPermission p = { "java.lang.management.ManagementPermission", "control", NULL };
     return p;
   }
   static int num_arguments() { return 0; }