make/launcher/Launcher-jdk.jconsole.gmk
changeset 51631 f9773a631272
parent 47216 71c04702a3d5
child 51825 e3632b4706c4
--- a/make/launcher/Launcher-jdk.jconsole.gmk	Tue Sep 04 09:07:06 2018 -0700
+++ b/make/launcher/Launcher-jdk.jconsole.gmk	Tue Sep 04 18:03:44 2018 +0100
@@ -1,5 +1,5 @@
 #
-# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 #
 # This code is free software; you can redistribute it and/or modify it
@@ -28,6 +28,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, \
     CFLAGS_windows := -DJAVAW, \
     LIBS_windows := user32.lib, \