JDK-6648909 : background downloader should not be started during creation of merged-rt.jar
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
When kernel finished downloading all bundles and creating the final merged-rt.jar, just keep kicking off "java -version", and you will run into problem. multiple java process will be spawned, and final merged-rt.jar won't be created.
Fixed mainly by ensuring that only the background download thread performs merges, along with a little bit of mutex shuffling.
Looks like the problem is it's possible to spawn a new background download process during the creation of merged-rt.jar.
Right now BackgroundDownloader will quit immediately when "background" mutex cannot be obtained; maybe we should also check the "completion" mutex too ?