< prev index next >
src/java.desktop/unix/classes/sun/awt/X11/GtkFileDialogPeer.java
Print this page
*** 27,37 ****
import java.awt.FileDialog;
import java.awt.peer.FileDialogPeer;
import java.io.File;
import java.io.FilenameFilter;
import sun.awt.AWTAccessor;
- import sun.misc.ManagedLocalsThread;
/**
* FileDialogPeer for the GtkFileChooser.
*
* @author Costantino Cerbo (c.cerbo@gmail.com)
--- 27,36 ----
*** 118,128 ****
Runnable task = () -> {
showNativeDialog();
standaloneWindow = 0;
fd.setVisible(false);
};
! new ManagedLocalsThread(task).start();
} else {
quit();
fd.setVisible(false);
}
} finally {
--- 117,127 ----
Runnable task = () -> {
showNativeDialog();
standaloneWindow = 0;
fd.setVisible(false);
};
! new Thread(null, task, "ShowDialog", 0, false).start();
} else {
quit();
fd.setVisible(false);
}
} finally {
< prev index next >