changeset 2112:405d811c0d7b jdk-9+123

8144911: Consider having modifications to jdk.jlink trigger recreation of all jmods Reviewed-by: tbell
author erikj
date Fri, 10 Jun 2016 16:59:18 +0200
parents 15b843f12c30
children 5244c79bbc9a 9169d65592c9 cd05b3e4720c
files make/CreateJmods.gmk
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/make/CreateJmods.gmk	Fri Jun 10 16:56:29 2016 +0200
+++ b/make/CreateJmods.gmk	Fri Jun 10 16:59:18 2016 +0200
@@ -82,6 +82,12 @@
   endif
 endif
 
+# Changes to the jmod tool itself should also trigger a rebuild of all jmods
+DEPS += $(JMOD_CMD)
+ifeq ($(EXTERNAL_BUILDJDK), false)
+  DEPS += $(call CacheFind, $(JDK_OUTPUTDIR)/modules/jdk.jlink/jdk/tools/jmod)
+endif
+
 # TODO: What about headers?
 # Create jmods in a temp dir and then move them into place to keep the
 # module path in $(IMAGES_OUTPUTDIR)/jmods valid at all times.