From b2c3323a7ff5e336f2a2871d66ff93def0af429f Mon Sep 17 00:00:00 2001 From: Chris Plummer Date: Tue, 17 Dec 2019 20:19:49 -0800 Subject: [PATCH] 8236062: Disable clhsdb initialization of SA javascript support since it will always fail, and will likely be removed soon Reviewed-by: amenkov, ysuenaga --- .../share/classes/sun/jvm/hotspot/CommandProcessor.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/CommandProcessor.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/CommandProcessor.java index 690a3c52b30..05fffe3b2e6 100644 --- a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/CommandProcessor.java +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/CommandProcessor.java @@ -1731,6 +1731,8 @@ public class CommandProcessor { // called after debuggee attach private void postAttach() { + /* + * JavaScript engine no longer works. For now disable it. Eventually we will remove it. // create JavaScript engine and start it try { jsengine = new JSJavaScriptEngine() { @@ -1774,6 +1776,7 @@ public class CommandProcessor { ex.printStackTrace(out); } } + */ } public void registerCommand(String cmd, String usage, final String func) {