RFR: JDK-8191439: Race in building jdk.rmic.interim
Magnus Ihse Bursie
magnus.ihse.bursie at oracle.com
Tue Dec 5 00:00:10 UTC 2017
On 2017-12-05 00:48, Erik Joelsson wrote:
> We have a race when building jdk.rmic.interim. This is caused by
> CompileInterimLangtools.gmk and CompileInterimRmic.gmk using the same
> modular output directory ($(BUILDTOOLS_OUTPUTDIR)/interim_modules),
> and then makefiles running javac from interim langtools at the same
> time as CompileInterimRmic is running. This patch splits the output
> directories. That way, tools running javac will not see any new files
> created by CompileInterimRmic ever.
> Bug: https://bugs.openjdk.java.net/browse/JDK-8191439
> Webrev: http://cr.openjdk.java.net/~erikj/8191439/webrev.01/
Looks good to me.
More information about the build-dev