United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6661934 Files In Use does not find processes started with a short path
JDK-6661934 : Files In Use does not find processes started with a short path

Details
Type:
Bug
Submit Date:
2008-02-12
Status:
Closed
Updated Date:
2010-09-17
Project Name:
JDK
Resolved Date:
2008-07-03
Component:
install
OS:
windows_xp
Sub-Component:
install
CPU:
x86
Priority:
P3
Resolution:
Fixed
Affected Versions:
6u5
Fixed Versions:
6u10 (b24)

Related Reports
Backport:
Relates:

Sub Tasks

Description
Our Files In Use code during install and patch in place does not find processes started with short paths or alternate paths that do not exactly match the full installation directory.
For example, a process started with the path C:\Progra~1\Java\jre6\bin will not match C:\Program Files\Java\jre6\bin.

See the attached screen capture of the files in use dialog and the processes in Process Explorer.

                                    

Comments
EVALUATION

I think the fix is to do what we're currently doing, but also use the ::GetShortPathName() function to detect if any of the shortpath's match up.
                                     
2008-02-12
EVALUATION

In order to minimize risk of regression, GetFullPathName() was implemented in FilesInUse::ListProcessExePath().
                                     
2008-04-08



Hardware and Software, Engineered to Work Together