Skip to content

Commit 1c796e4

Browse files
authored
Merge pull request ibmruntimes#90 from pdbain-ibm/openj9-jdk
Add launcher for jstack
2 parents 545d490 + 50f3178 commit 1c796e4

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

closed/make/CompileJavaModules.gmk

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# ===========================================================================
2-
# (c) Copyright IBM Corp. 2017, 2018 All Rights Reserved
2+
# (c) Copyright IBM Corp. 2017, 2019 All Rights Reserved
33
# ===========================================================================
44
#
55
# This code is free software; you can redistribute it and/or modify it
@@ -22,4 +22,5 @@
2222

2323
java.base_COPY += ExternalMessages.properties
2424
openj9.gpu_COPY += ibm_gpu_thresholds.properties
25+
jdk.jcmd_EXCLUDES += sun
2526

closed/make/closed_make/launcher/Launcher-jdk.jcmd.gmk

+7-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,13 @@ include LauncherCommon.gmk
2424

2525
$(eval $(call SetupBuildLauncher, jps, \
2626
MAIN_MODULE := jdk.jcmd, \
27-
MAIN_CLASS := openj9.tools.attach.diagnostics.Jps, \
27+
MAIN_CLASS := openj9.tools.attach.diagnostics.tools.Jps, \
2828
CFLAGS := -DEXPAND_CLASSPATH_WILDCARDS, \
2929
JAVA_ARGS := -Djdk.attach.allowAttachSelf=true, \
3030
))
31+
32+
$(eval $(call SetupBuildLauncher, jstack, \
33+
MAIN_MODULE := jdk.jcmd, \
34+
MAIN_CLASS := openj9.tools.attach.diagnostics.tools.Jstack, \
35+
CFLAGS := -DEXPAND_CLASSPATH_WILDCARDS, \
36+
))

0 commit comments

Comments
 (0)