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/

/Erik

Reply via email to