From 5decc88da489e751a0ed3b836aac0b6d51a1c2da Mon Sep 17 00:00:00 2001 From: Ramkumar Sunderbabu Date: Fri, 6 Dec 2019 13:42:57 +0530 Subject: [PATCH] 8228448: Jconsole can't connect to itself Additions done to allow jconsole to connect to itself Reviewed-by: erikj --- make/launcher/Launcher-jdk.jconsole.gmk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/make/launcher/Launcher-jdk.jconsole.gmk b/make/launcher/Launcher-jdk.jconsole.gmk index 7ef2e577b76..9b19dcdc0e5 100644 --- a/make/launcher/Launcher-jdk.jconsole.gmk +++ b/make/launcher/Launcher-jdk.jconsole.gmk @@ -29,6 +29,7 @@ $(eval $(call SetupBuildLauncher, jconsole, \ MAIN_CLASS := sun.tools.jconsole.JConsole, \ JAVA_ARGS := --add-opens java.base/java.io=jdk.jconsole \ --add-modules ALL-DEFAULT \ - -Djconsole.showOutputViewer, \ + -Djconsole.showOutputViewer \ + -Djdk.attach.allowAttachSelf=true, \ CFLAGS_windows := -DJAVAW, \ ))