JDK-6619986 : DownloadManager.getBundleURLs does not work on vista
  • Type: Bug
  • Component: deploy
  • Sub-Component: deployment_toolkit
  • Affected Version: 6u5
  • Priority: P1
  • Status: Closed
  • Resolution: Fixed
  • OS: windows
  • CPU: x86
  • Submitted: 2007-10-22
  • Updated: 2010-09-08
  • Resolved: 2008-01-29
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.
JDK 6
6u10 b07Fixed
Description
I discovered a bug in our code.  DownloadManager.java, method getBundleURLs:

   File tmp = new File(getBundlePath(), "urls." +
                   getCurrentProcessId() + ".properties");
           tmp.deleteOnExit();
           downloadFromURL(url, tmp, "", false);

We are trying to write to c:\program files\jre6\lib\bundles\urls.xxx.properties, which will fail for sure on Vista running IE 7 promoted mode.

Under medium integrity, it will work but the file will be written to the virtualized directory.  Under high integrity the actual write will work.

Comments
EVALUATION We should create this file in locallow too, similar to all other files we download on vista.
22-10-2007