United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6701975 FilesInUse not detecting executables when path differs in case
JDK-6701975 : FilesInUse not detecting executables when path differs in case

Details
Type:
Bug
Submit Date:
2008-05-14
Status:
Closed
Updated Date:
2010-09-17
Project Name:
JDK
Resolved Date:
2008-06-09
Component:
install
OS:
windows_xp
Sub-Component:
install
CPU:
x86
Priority:
P2
Resolution:
Fixed
Affected Versions:
6u10
Fixed Versions:
6u10 (b26)

Related Reports
Backport:
Relates:

Sub Tasks

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.
                                     
2008-05-15



Hardware and Software, Engineered to Work Together