United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 6619986 DownloadManager.getBundleURLs does not work on vista
6619986 : DownloadManager.getBundleURLs does not work on vista

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

Related Reports

Sub Tasks

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.
                                     
2007-10-22



Hardware and Software, Engineered to Work Together