United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 6648909 background downloader should not be started during creation of merged-rt.jar
6648909 : background downloader should not be started during creation of merged-rt.jar

Details
Type:
Bug
Submit Date:
2008-01-10
Status:
Closed
Updated Date:
2010-09-08
Project Name:
JDK
Resolved Date:
2008-01-31
Component:
deploy
OS:
windows
Sub-Component:
deployment_toolkit
CPU:
x86
Priority:
P2
Resolution:
Fixed
Affected Versions:
6u10
Fixed Versions:
6u10

Related Reports

Sub Tasks

Description
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.
                                     
2008-01-14
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 ?
                                     
2008-01-10



Hardware and Software, Engineered to Work Together