JDK-6701975 : FilesInUse not detecting executables when path differs in case
  • Type: Bug
  • Component: install
  • Sub-Component: install
  • Affected Version: 6u10
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2008-05-14
  • Updated: 2010-09-17
  • Resolved: 2008-06-09
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 b26Fixed 7Fixed
Related Reports
Relates :  
Description
Real-world scenario:
- Install 6u10 to the default directory, "C:\Program Files\Java\jre6\".
- From the command line, run a jar file using "C:\program files\java\jre6\bin\java.exe" (all lower case).  Leave it running.
- Install 6u11 online installer to patch 6u10 at "C:\Program Files\Java\jre6\".
"C:\program files\java\jre6\bin\java.exe" is in use.
but not displayed in the FilesInUse dialog box.

The check against the directory 6u11 is being installed to is using StrStr() which is case-sensitive.

Comments
EVALUATION The fix should be to use a non-case-sensitive comparison.
15-05-2008