changeset 57437:7a42c8914389

8236062: Disable clhsdb initialization of SA javascript support since it will always fail, and will likely be removed soon Reviewed-by: amenkov, ysuenaga
author cjplummer
date Tue, 17 Dec 2019 20:19:49 -0800
parents cc850fb10c2a
children 5b4e75523380
files src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/CommandProcessor.java
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/CommandProcessor.java	Tue Dec 17 15:38:22 2019 -0500
+++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/CommandProcessor.java	Tue Dec 17 20:19:49 2019 -0800
@@ -1731,6 +1731,8 @@
 
     // 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 @@
                 ex.printStackTrace(out);
             }
         }
+        */
     }
 
     public void registerCommand(String cmd, String usage, final String func) {