RFR: 8214045: Missing explicit dependencies of build-microbenchmark cause intermittent build failure (original) (raw)

Claes Redestad claes.redestad at oracle.com
Mon Nov 19 11:10:22 UTC 2018


Hi,

we're seeing a few rare, intermittent build failures on some older machines due missing explicit dependencies on some modules (such as java.xml). While more fine-grained option exists, we might as well depend on exploded-image to ensure that microbenchmarks are always free to compile against code from the entire JDK.

Bug: https://bugs.openjdk.java.net/browse/JDK-8214045 Patch is trivial and inlined below.

Thanks!

/Claes

diff -r 16609197022c make/Main.gmk --- a/make/Main.gmk    Fri Nov 16 23:39:51 2018 +0100 +++ b/make/Main.gmk    Mon Nov 19 11:58:46 2018 +0100 @@ -793,7 +793,7 @@

   jrtfs-jar: interim-langtools

-  build-microbenchmark: interim-langtools jdk.unsupported java.management +  build-microbenchmark: interim-langtools exploded-image

   ifeq ($(ENABLE_GENERATE_CLASSLIST), true)      ifeq ($(CREATE_BUILDJDK), true)



More information about the build-dev mailing list