-
Bug
-
Resolution: Fixed
-
P4
-
6u10
-
b19
-
x86
-
linux
FULL PRODUCT VERSION :
java version "1.6.0_10"
Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
Java HotSpot(TM) Client VM (build 11.0-b15, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Linux maunaloa 2.6.24-21-generic #1 SMP Tue Oct 21 23:43:45 UTC 2008 i686 GNU/Linux
A DESCRIPTION OF THE PROBLEM :
This is an issue in the GTK version of the JFileChooser. It is possible to press '..' an unlimited number of times, even if located at the root. So one can get the drop-down directory menu to say '/../../../../..' etc.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Open a JFileCHooser when using the com.sun.java.swing.plaf.gtk.GTKLookAndFeel. The just keep clicking '../' in the folders list.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
I expected it to not let me walk pas the root of the filesystem.
ACTUAL -
See above.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
JFileChooser fc = new JFileChooser();
fc.showOpenDialog(null);
---------- END SOURCE ----------
java version "1.6.0_10"
Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
Java HotSpot(TM) Client VM (build 11.0-b15, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Linux maunaloa 2.6.24-21-generic #1 SMP Tue Oct 21 23:43:45 UTC 2008 i686 GNU/Linux
A DESCRIPTION OF THE PROBLEM :
This is an issue in the GTK version of the JFileChooser. It is possible to press '..' an unlimited number of times, even if located at the root. So one can get the drop-down directory menu to say '/../../../../..' etc.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Open a JFileCHooser when using the com.sun.java.swing.plaf.gtk.GTKLookAndFeel. The just keep clicking '../' in the folders list.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
I expected it to not let me walk pas the root of the filesystem.
ACTUAL -
See above.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
JFileChooser fc = new JFileChooser();
fc.showOpenDialog(null);
---------- END SOURCE ----------
- relates to
-
JDK-8326493 BasicDirectoryModel splits file list into directories and files twice
-
- Open
-