RFR: JDK-8147786: Building hotspot gives error message from find

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Wed Jan 20 11:00:41 UTC 2016


On 2016-01-20 10:16, Erik Joelsson wrote:
> 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

Looks good to me.

/Magnus



More information about the build-dev mailing list