8198306: Add post custom extension hooks to two launchers
authorerikj
Fri, 16 Feb 2018 11:26:12 -0800
changeset 48908 329428e095b6
parent 48907 c38163717870
child 48909 54b423e1c4cf
8198306: Add post custom extension hooks to two launchers Reviewed-by: erikj Contributed-by: ben_walsh@uk.ibm.com
make/launcher/Launcher-jdk.jcmd.gmk
make/launcher/Launcher-jdk.jstatd.gmk
--- a/make/launcher/Launcher-jdk.jcmd.gmk	Fri Feb 16 18:51:35 2018 +0100
+++ b/make/launcher/Launcher-jdk.jcmd.gmk	Fri Feb 16 11:26:12 2018 -0800
@@ -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
@@ -60,3 +60,6 @@
 $(eval $(call SetupBuildLauncher, jcmd, \
     MAIN_CLASS := sun.tools.jcmd.JCmd, \
 ))
+
+# Hook to include the corresponding custom file, if present.
+$(eval $(call IncludeCustomExtension, launcher/Launcher-jdk.jcmd-post.gmk))
--- a/make/launcher/Launcher-jdk.jstatd.gmk	Fri Feb 16 18:51:35 2018 +0100
+++ b/make/launcher/Launcher-jdk.jstatd.gmk	Fri Feb 16 11:26:12 2018 -0800
@@ -1,5 +1,5 @@
 #
-# Copyright (c) 2011, 2016, 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,3 +28,6 @@
 $(eval $(call SetupBuildLauncher, jstatd, \
     MAIN_CLASS := sun.tools.jstatd.Jstatd, \
 ))
+
+# Hook to include the corresponding custom file, if present.
+$(eval $(call IncludeCustomExtension, launcher/Launcher-jdk.jstatd-post.gmk))