Skip to content
This repository was archived by the owner on Feb 2, 2023. It is now read-only.

Commit dfb19d5

Browse files
omikhaltsovaYuri Nesterenko
authored andcommitted
8228448: Jconsole can't connect to itself
Additions done to allow jconsole to connect to itself Backport-of: 5decc88
1 parent f9c269f commit dfb19d5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

make/launcher/Launcher-jdk.jconsole.gmk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ $(eval $(call SetupBuildLauncher, jconsole, \
2929
MAIN_CLASS := sun.tools.jconsole.JConsole, \
3030
JAVA_ARGS := --add-opens java.base/java.io=jdk.jconsole \
3131
--add-modules ALL-DEFAULT \
32-
-Djconsole.showOutputViewer, \
32+
-Djconsole.showOutputViewer \
33+
-Djdk.attach.allowAttachSelf=true, \
3334
CFLAGS_windows := -DJAVAW, \
3435
))

0 commit comments

Comments
 (0)