mirror of
https://github.com/openjdk/jdk.git
synced 2026-07-02 15:20:27 +00:00
8385817: Headless jdk still contains bin/jconsole
Reviewed-by: erikj, syan, kevinw
This commit is contained in:
parent
b9f7bd2be8
commit
c2df7329a8
@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (c) 2011, 2025, Oracle and/or its affiliates. All rights reserved.
|
||||
# Copyright (c) 2011, 2026, 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
|
||||
@ -30,15 +30,15 @@ include LauncherCommon.gmk
|
||||
################################################################################
|
||||
## Build jconsole
|
||||
################################################################################
|
||||
|
||||
$(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 \
|
||||
-Djdk.attach.allowAttachSelf=true, \
|
||||
WINDOWS_JAVAW := true, \
|
||||
))
|
||||
|
||||
ifneq ($(ENABLE_HEADLESS_ONLY), true)
|
||||
$(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 \
|
||||
-Djdk.attach.allowAttachSelf=true, \
|
||||
WINDOWS_JAVAW := true, \
|
||||
))
|
||||
endif
|
||||
################################################################################
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user