8073166: Unable to successfully build the merge of jdk9/hs with jdk9/dev
authorerikj
Mon, 16 Feb 2015 12:25:56 +0100
changeset 28899 ceb890ca5f39
parent 28898 b4c9aede2259
child 28900 dd0303e8c9ce
child 29306 6448e5033ebe
8073166: Unable to successfully build the merge of jdk9/hs with jdk9/dev Reviewed-by: alanb
make/Main.gmk
--- a/make/Main.gmk	Fri Feb 13 11:03:13 2015 +0800
+++ b/make/Main.gmk	Mon Feb 16 12:25:56 2015 +0100
@@ -347,8 +347,8 @@
   $(foreach m, $(RMIC_MODULES), $(eval $m-rmic: $m-java))
 
   # Declare dependencies from <module>-lib to <module>-java
-  # Skip jdk.jdwp.agent as it contains no java code.
-  $(foreach m, $(filter-out jdk.jdwp.agent, $(LIBS_MODULES)), $(eval $m-libs: $m-java))
+  # Skip modules that do not have java source.
+  $(foreach m, $(filter $(JAVA_MODULES), $(LIBS_MODULES)), $(eval $m-libs: $m-java))
 
   # Declare dependencies from all other <module>-lib to java.base-lib
   $(foreach t, $(filter-out java.base-libs, $(LIBS_TARGETS)), \