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