<Swing Dev> [9] Review request for 8041694: JFileChooser removes trailing spaces in the selected directory name
Sergey Bylokhov
Sergey.Bylokhov at oracle.com
Wed May 11 13:16:29 UTC 2016
Hi, Anton.
Probably the test can create the folder w/o the shell script?
On 11.05.16 15:14, Anton Litvinov wrote:
> The bug consists in the fact that the method
> "JFileChooser.getSelectedFile()" returns "java.io.File" object which
> does not contain trailing spaces in the directory name, in spite of the
> fact that the corresponding directory in the file system has trailing
> spaces in its name. The fix deletes the code in the method
> "javax.swing.plaf.basic.BasicFileChooserUI.ApproveSelectionAction.actionPerformed"
> which deliberately modifies the selected directory string name by
> removing trailing spaces from it.
>
> All automatic regression tests from open and closed sets located in
> "javax/swing/JFileChooser" directories were run on MS Windows 7 OS
> during verification of the fix.
--
Best regards, Sergey.
More information about the swing-dev
mailing list