6938481: 4906607 is not fixed for NIMBUS L&F

Reviewed-by: alexp
This commit is contained in:
Pavel Porvatov 2010-05-17 17:23:18 +04:00
parent 5a66416a07
commit 04c87a2d5e

View File

@ -788,7 +788,7 @@ public class SynthFileChooserUIImpl extends SynthFileChooserUI {
// for example /foo/bar/ becomes /foo/bar
File canonical;
try {
canonical = directory.getCanonicalFile();
canonical = ShellFolder.getNormalizedFile(directory);
} catch (IOException e) {
// Maybe drive is not ready. Can't abort here.
canonical = directory;