changeset 57184:cb0131439e9d

8224673: Adjust permission for delayed starting of debugging Summary: Changed permission from monitor to control Reviewed-by: sspitsyn, clanger
author rschmelter
date Fri, 24 May 2019 04:18:18 -0700
parents 38c73e24fa7b
children 4c0a7916d3cd
files src/hotspot/share/services/diagnosticCommand.hpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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; }