JDK-6609800 : Provide a registry key to disable kernel background download
  • Type: Bug
  • Component: deploy
  • Sub-Component: deployment_toolkit
  • Affected Version: 6u5
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: windows
  • CPU: generic
  • Submitted: 2007-09-26
  • Updated: 2010-09-08
  • Resolved: 2008-02-21
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.

To download the current JDK release, click here.
6u10 b07Fixed
Add registry key HKEY_LOCAL_MACHINE/Software/JavaSoft/KernelBackgroundDownload.  When this REG_DWORD type key is set to 0 , the background download should not start automatically.  This is needed for testing purposes.
In DownloadManager.java we should check the value of KernelDownloadUrl from registry in startBackgroundDownloadWithBroker method.  Also, the order of checking for bundles download location override should be as follows:
kernel.download.url system property
KernelDownloadUrl registry key

EVALUATION The registry key is of type REG_DWORD and should be set to 0 if you'd like to disable the background download. If the value of the key is 1 or key is not specified, the background download will start. Just verified with the PIT build that the background download is not starting if the key is set to 0.

EVALUATION Add registry key HKEY_LOCAL_MACHINE/Software/JavaSoft/KernelBackgroundDownload