(urgent) RFR: JDK-8074072: Race condition in build since JDK-8072842 can cause failed builds on Solaris

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Mon Mar 2 12:49:38 UTC 2015


On 2015-03-02 10:42, Erik Joelsson wrote:
> Hello,
>
> A race condition, possibly leading to a failed build on Solaris, was 
> introduced with JDK-8072842. Here is a fix adding the necessary 
> dependencies to solve this for now, until the proper solution in 
> JDK-8064808 can be fixed.
>
> The fix in Tools.gmk has long been needed, but happened to work 
> because the first user of these tools used to be java.base-libs and no 
> other native code could be compiled before it.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8074072
> Webrev: http://cr.openjdk.java.net/~erikj/8074072/webrev.01/
>
> /Erik

Looks like we had a race condition in the build team for fixing this as 
well. ;-)

Your fix does indeed seem more complete; I assume I just got lucky 
perhaps by changing order.

/Magnus



More information about the build-dev mailing list