RFR: JDK-8147786: Building hotspot gives error message from find
Erik Joelsson
erik.joelsson at oracle.com
Wed Jan 20 09:16:15 UTC 2016
Due to a collision between two fixes (JDK-8146403 and JDK-8067194),
whenever we build hotspot now we get the message:
/usr/bin/find: `/localhome/hg/jdk9-dev-ALT/hotspot/agent': No such file
or directory
Bug: https://bugs.openjdk.java.net/browse/JDK-8147786
Patch:
erik at pilot:/localhome/hg/jdk9-dev$ hg diff
diff -r f382e4228537 make/HotspotWrapper.gmk
--- a/make/HotspotWrapper.gmk
+++ b/make/HotspotWrapper.gmk
@@ -38,7 +38,7 @@
# Get all files in src, make or agent subdirs in hotspot directory and
# filter out .hg. This skips the test directory.
HOTSPOT_FILES := $(shell $(FIND) -L \
- $(HOTSPOT_TOPDIR)/src $(HOTSPOT_TOPDIR)/make $(HOTSPOT_TOPDIR)/agent \
+ $(HOTSPOT_TOPDIR)/src $(HOTSPOT_TOPDIR)/make \
-name ".hg" -prune -o -print)
# The old build creates hotspot output dir before calling hotspot and
/Erik
More information about the build-dev
mailing list