8047933: Race between jdk/make/scripts/genExceptions.sh and com.sun.tools.javadoc.Main
Reviewed-by: ihse, tbell
--- a/make/Main.gmk Wed Jul 05 20:01:04 2017 +0200
+++ b/make/Main.gmk Tue Sep 23 07:23:25 2014 -0700
@@ -382,6 +382,10 @@
# header file used by jdk.jdwp libs.
jdk.jdwp.agent-libs: jdk.jdi-gensrc
+ # The swing beans need to have java base properly generated to avoid errors
+ # in javadoc.
+ java.desktop-gensrc: java.base-gensrc
+
# Explicitly add dependencies for special targets
java.base-java: unpack-sec