changeset 2372:3b909e2e2131

6938481: 4906607 is not fixed for NIMBUS L&F Reviewed-by: alexp
author rupashka
date Mon, 17 May 2010 17:23:18 +0400
parents 042eb92f89ad
children 57d7b80faad8
files src/share/classes/sun/swing/plaf/synth/SynthFileChooserUIImpl.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/sun/swing/plaf/synth/SynthFileChooserUIImpl.java	Thu May 06 12:57:30 2010 +0400
+++ b/src/share/classes/sun/swing/plaf/synth/SynthFileChooserUIImpl.java	Mon May 17 17:23:18 2010 +0400
@@ -788,7 +788,7 @@
             // 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;