-
Bug
-
Resolution: Fixed
-
P2
-
7
-
b114
-
generic, x86
-
generic, linux_redhat_5.0, solaris, windows, windows_xp, windows_7
-
Verified
Execute the following simple test:
import java.awt.*;
public class slash {
public static void main(String[] args) {
FileDialog fd = new FileDialog((Frame)null, "save", FileDialog.SAVE);
fd.setVisible(true);
System.err.println("dir: " + fd.getDirectory());
}
}
Note that the dialog is modal, so System.err.println() should be executed after the dialog is hidden/disposed. However, even if the dialog is still visible, the current directory is printed to console in ~5 secs after the dialog is shown.
import java.awt.*;
public class slash {
public static void main(String[] args) {
FileDialog fd = new FileDialog((Frame)null, "save", FileDialog.SAVE);
fd.setVisible(true);
System.err.println("dir: " + fd.getDirectory());
}
}
Note that the dialog is modal, so System.err.println() should be executed after the dialog is hidden/disposed. However, even if the dialog is still visible, the current directory is printed to console in ~5 secs after the dialog is shown.
- duplicates
-
JDK-6989994 REGRESSION: show() call returned when dialog is not hidden
- Closed
-
JDK-6987137 Could not select a folder, from Open / Save FileChooser on Windows
- Closed
-
JDK-6990581 closed/java/awt/Modal/CompInBlockedWindowTest/CompInBlockedWindowTest.java failed
- Closed
-
JDK-6989822 Nightly: Signed applets are throwing security exception automatically after a while
- Closed
- relates to
-
JDK-6949936 Provide API for running nested events loops, similar to what modal dialogs do
- Closed