(urgent) RFR: JDK-8201221: JDK-8199608 introduced a build race on macosx

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Fri Apr 6 09:10:39 UTC 2018


On 2018-04-06 01:42, Erik Joelsson wrote:
> JDK-8199608 introduced a build race on macosx and is failing all our 
> macosx builds. The declaration:
>
> $(BUILD_LIBFONTMANAGER): $(BUILD_LIBAWT_LWAWT)
>
> does not work because the SetupNativeCompilation call for 
> BUILD_LIBAWT_LWAWT is positioned further down in the file.
Darn! :( Thanks for fixing this so promptly.

/Magnus

>
> I propose this patch:
>
> diff -r 149dc554808c make/lib/Awt2dLibraries.gmk
> --- a/make/lib/Awt2dLibraries.gmk
> +++ b/make/lib/Awt2dLibraries.gmk
> @@ -667,7 +667,7 @@
>  endif
>
>  ifeq ($(OPENJDK_TARGET_OS), macosx)
> -  $(BUILD_LIBFONTMANAGER): $(BUILD_LIBAWT_LWAWT)
> +  $(BUILD_LIBFONTMANAGER): $(call FindLib, java.desktop, awt_lwawt)
>  endif
>
>  ifeq ($(FREETYPE_TO_USE), bundled)
>
>
> /Erik
>



More information about the build-dev mailing list