JDK-6661934 : Files In Use does not find processes started with a short path
  • Type: Bug
  • Component: install
  • Sub-Component: install
  • Affected Version: 6u5
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2008-02-12
  • Updated: 2010-09-17
  • Resolved: 2008-07-03
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 JDK 7
6u10 b24Fixed 7Fixed
Related Reports
Relates :  
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 In order to minimize risk of regression, GetFullPathName() was implemented in FilesInUse::ListProcessExePath().
08-04-2008

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.
12-02-2008