RFR: JDK-8211677: Java resource copy and clean should use MakeTargetDir macro (original) (raw)

Tim Bell tim.bell at oracle.com
Wed Oct 3 23:45:21 UTC 2018


Erik:

Since upgrading our Solaris build machines to 11.3, we have experienced intermittent build failures in the recipes copying java resource files. It's unclear why this started happening now after having worked fine for so long, but it seems it's a race caused by concurrent calls to "mkdir -p". In other recipes we have worked around this by using a macro "MakeDir" which reduces the likelihood of concurrent calls happening. Rewriting these copy and clean rules to use the current preferred macros seem to alleviate the problem for us on Solaris 11.3, and also makes the build a little bit more coherent.

Bug: https://bugs.openjdk.java.net/browse/JDK-8211677 Webrev: http://cr.openjdk.java.net/~erikj/8211677/webrev.01/

Looks good.

Tim



More information about the build-dev mailing list