diff options
author | smallsql <smallsql> | 2012-03-16 01:35:25 +0400 |
---|---|---|
committer | smallsql <smallsql> | 2012-03-16 01:35:25 +0400 |
commit | 68dd4620373780518ead81f25eef9f38b03c1f86 (patch) | |
tree | 60478ad38fd356ea70dbcfa8de5c1bb20c6635e7 | |
parent | 120a406e942e4a914109af5366ea914b0069ee88 (diff) |
remove links from the list of fileChooserComboBoxFolders
-rw-r--r-- | openjdk/sun/awt/shell/Win32ShellFolderManager2.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openjdk/sun/awt/shell/Win32ShellFolderManager2.java b/openjdk/sun/awt/shell/Win32ShellFolderManager2.java index 37074d89..84f11056 100644 --- a/openjdk/sun/awt/shell/Win32ShellFolderManager2.java +++ b/openjdk/sun/awt/shell/Win32ShellFolderManager2.java @@ -216,7 +216,7 @@ public class Win32ShellFolderManager2 extends ShellFolderManager { Arrays.sort(secondLevelFolders); for (File secondLevelFolder : secondLevelFolders) { Win32ShellFolder2 folder = (Win32ShellFolder2) secondLevelFolder; - if (!folder.isFileSystem() || folder.isDirectory()) { + if (!folder.isFileSystem() || (folder.isDirectory() && !folder.isLink()) ) { folders.add(folder); // Add third level for "My Computer" if (folder.equals(drives)) { |