8144911: Consider having modifications to jdk.jlink trigger recreation of all jmods

Reviewed-by: tbell
This commit is contained in:
Erik Joelsson 2016-06-10 16:59:18 +02:00
parent 0295c28e94
commit 3c2951a820

View File

@ -82,6 +82,12 @@ ifeq ($(MODULE), java.base)
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.