< prev index next >

## src/java.desktop/windows/classes/sun/awt/shell/Win32ShellFolderManager2.java

Print this page

    *** 509,518 ****
    --- 509,524 ----
                  return name1.compareTo(name2);
              }
          }

          @Override
    +     String getPath(File dir) {
    +         //Windows doesnot support paths with leading and lagging spaces
    +         return dir.getPath().trim();
    +     }
    +
    +     @Override
          protected Invoker createInvoker() {
              return new ComInvoker();
          }

          private static class ComInvoker extends ThreadPoolExecutor implements ThreadFactory, ShellFolder.Invoker {

< prev index next >