changeset 20140:b17201ff7e3f

8024485: For 5-1 step: if input something into the 'File:' and 'Dir:', the dir output isn't empty in the output window after showing and canceling the file dialog Reviewed-by: serb, anthony
author pchelko
date Mon, 16 Sep 2013 19:44:47 +0400
parents 53e1e07a811e
children 2ed60881f2a1
files jdk/src/windows/classes/sun/awt/windows/WFileDialogPeer.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/jdk/src/windows/classes/sun/awt/windows/WFileDialogPeer.java	Mon Sep 16 19:38:32 2013 +0400
+++ b/jdk/src/windows/classes/sun/awt/windows/WFileDialogPeer.java	Mon Sep 16 19:44:47 2013 +0400
@@ -182,6 +182,7 @@
 
         AWTAccessor.getFileDialogAccessor().setFile(fileDialog, null);
         AWTAccessor.getFileDialogAccessor().setFiles(fileDialog, null);
+        AWTAccessor.getFileDialogAccessor().setDirectory(fileDialog, null);
 
         WToolkit.executeOnEventHandlerThread(fileDialog, new Runnable() {
              public void run() {