JDK-6648909 : background downloader should not be started during creation of merged-rt.jar
Type:Bug
Component:deploy
Sub-Component:deployment_toolkit
Affected Version:6u10
Priority:P2
Status:Closed
Resolution:Fixed
OS:windows
CPU:x86
Submitted:2008-01-10
Updated:2010-09-08
Resolved:2008-01-31
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.
Comments
EVALUATION
Fixed mainly by ensuring that only the background download thread performs merges, along with a little bit of mutex shuffling.
14-01-2008
EVALUATION
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 ?