-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
6u16
-
x86
-
windows_xp
FULL PRODUCT VERSION :
java version "1.6.0_16"
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java HotSpot(TM) Client VM (build 14.2-b01, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
When calling showSaveDialog(), i select my DVD-RAM folder (which is empty), and i type "somefile.txt" followed by ENTER in the filename field.
JFileChooser.getSelectedFile() returns "ShellFolder: 0x11\somefile.txt" instead of "I:\somefile.txt".
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. call showSaveDialog()
2. select a drive more "special" than local hard drive
2. type in the file name, and validate
3. call JFileChooser.getSelectedFile()
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
I would expect "I:\somefile.txt", a regular "drive:" pathname
ACTUAL -
I get "ShellFolder: 0x11\somefile.txt"
REPRODUCIBILITY :
This bug can be reproduced always.
java version "1.6.0_16"
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java HotSpot(TM) Client VM (build 14.2-b01, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
When calling showSaveDialog(), i select my DVD-RAM folder (which is empty), and i type "somefile.txt" followed by ENTER in the filename field.
JFileChooser.getSelectedFile() returns "ShellFolder: 0x11\somefile.txt" instead of "I:\somefile.txt".
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. call showSaveDialog()
2. select a drive more "special" than local hard drive
2. type in the file name, and validate
3. call JFileChooser.getSelectedFile()
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
I would expect "I:\somefile.txt", a regular "drive:" pathname
ACTUAL -
I get "ShellFolder: 0x11\somefile.txt"
REPRODUCIBILITY :
This bug can be reproduced always.
- duplicates
-
JDK-6366370 JFileChooser returns an incorrct path for "My Computer","NetworkNeighbourhood" on windows
- Closed