31 lines
1.2 KiB
Diff
31 lines
1.2 KiB
Diff
|
|
Subject: Backport of JDK-8305680
|
||
|
|
|
||
|
|
---
|
||
|
|
src/hotspot/share/services/diagnosticCommand.cpp | 10 ----------
|
||
|
|
1 file changed, 10 deletions(-)
|
||
|
|
|
||
|
|
diff --git a/src/hotspot/share/services/diagnosticCommand.cpp b/src/hotspot/share/services/diagnosticCommand.cpp
|
||
|
|
index 51f47421c..1400e4a3f 100644
|
||
|
|
--- a/src/hotspot/share/services/diagnosticCommand.cpp
|
||
|
|
+++ b/src/hotspot/share/services/diagnosticCommand.cpp
|
||
|
|
@@ -191,16 +191,6 @@ void HelpDCmd::execute(DCmdSource source, TRAPS) {
|
||
|
|
factory->is_enabled() ? "" : " [disabled]");
|
||
|
|
output()->print_cr("%s", factory->description());
|
||
|
|
output()->print_cr("\nImpact: %s", factory->impact());
|
||
|
|
- JavaPermission p = factory->permission();
|
||
|
|
- if(p._class != NULL) {
|
||
|
|
- if(p._action != NULL) {
|
||
|
|
- output()->print_cr("\nPermission: %s(%s, %s)",
|
||
|
|
- p._class, p._name == NULL ? "null" : p._name, p._action);
|
||
|
|
- } else {
|
||
|
|
- output()->print_cr("\nPermission: %s(%s)",
|
||
|
|
- p._class, p._name == NULL ? "null" : p._name);
|
||
|
|
- }
|
||
|
|
- }
|
||
|
|
output()->cr();
|
||
|
|
cmd = factory->create_resource_instance(output());
|
||
|
|
if (cmd != NULL) {
|
||
|
|
--
|
||
|
|
2.33.0
|
||
|
|
|