8174172: Race when building java.base.jmod
authorerikj
Thu, 09 Feb 2017 09:51:24 +0100
changeset 43655 5aab808cefb5
parent 43654 32ee04ab8949
child 43656 c1c65cd38598
8174172: Race when building java.base.jmod Reviewed-by: alanb, mchung
make/Main.gmk
--- a/make/Main.gmk	Tue Feb 07 12:17:59 2017 +0100
+++ b/make/Main.gmk	Thu Feb 09 09:51:24 2017 +0100
@@ -654,8 +654,7 @@
   # When creating a BUILDJDK, we don't need to add hashes to java.base, thus
   # we don't need to depend on all other jmods
   ifneq ($(CREATING_BUILDJDK), true)
-    java.base-jmod: jrtfs-jar $(filter-out java.base-jmod \
-        $(addsuffix -jmod, $(call FindAllUpgradeableModules)), $(JMOD_TARGETS))
+    java.base-jmod: jrtfs-jar $(filter-out java.base-jmod, $(JMOD_TARGETS))
   endif
 
   # Building java.base-jmod requires all of hotspot to be built.