OpenJDK / amber / amber
changeset 59192:d6fe7d58d994
8228448: Jconsole can't connect to itself
Summary: Additions done to allow jconsole to connect to itself
Reviewed-by: erikj
Contributed-by: ramkumar.sunderbabu@oracle.com
author | rraghavan |
---|---|
date | Fri, 06 Dec 2019 13:42:57 +0530 |
parents | 2b8719a4793f |
children | f55c453cef06 |
files | make/launcher/Launcher-jdk.jconsole.gmk |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/make/launcher/Launcher-jdk.jconsole.gmk Fri Dec 06 10:13:24 2019 +0800 +++ b/make/launcher/Launcher-jdk.jconsole.gmk Fri Dec 06 13:42:57 2019 +0530 @@ -29,6 +29,7 @@ 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, \ ))