-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
8u281
-
x86_64
-
windows_10
ADDITIONAL SYSTEM INFORMATION :
Microsoft Windows 10 Enterprise
10.0.18363 Build 18363
JDK 1.8.0_281
JDK 1.8.0_291
A DESCRIPTION OF THE PROBLEM :
Launch a JFileChooser dialog on Windows 10. Drag and drop a file (shortcut or a file icon) from desktop onto the dialog. The dialog freezes.
REGRESSION : Last worked in version 8
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Compile and run the sample with above JDK/JRE on Windows 10.
Drag and drop a file onto the dialog.
The dialog freezes.
---------- BEGIN SOURCE ----------
import javax.swing.JFileChooser;
import javax.swing.SwingUtilities;
public class Test
{
public static void main(String[] args) throws Exception
{
SwingUtilities.invokeLater(new Runnable()
{
@Override
public void run()
{
JFileChooser fileChooser = new JFileChooser();
fileChooser.showOpenDialog(null);
}
});
}
}
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
The issue has not occurred when running JRE 1.8.0_271 or earlier, but I could be wrong.
FREQUENCY : often
Microsoft Windows 10 Enterprise
10.0.18363 Build 18363
JDK 1.8.0_281
JDK 1.8.0_291
A DESCRIPTION OF THE PROBLEM :
Launch a JFileChooser dialog on Windows 10. Drag and drop a file (shortcut or a file icon) from desktop onto the dialog. The dialog freezes.
REGRESSION : Last worked in version 8
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Compile and run the sample with above JDK/JRE on Windows 10.
Drag and drop a file onto the dialog.
The dialog freezes.
---------- BEGIN SOURCE ----------
import javax.swing.JFileChooser;
import javax.swing.SwingUtilities;
public class Test
{
public static void main(String[] args) throws Exception
{
SwingUtilities.invokeLater(new Runnable()
{
@Override
public void run()
{
JFileChooser fileChooser = new JFileChooser();
fileChooser.showOpenDialog(null);
}
});
}
}
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
The issue has not occurred when running JRE 1.8.0_271 or earlier, but I could be wrong.
FREQUENCY : often
- duplicates
-
JDK-8262446 DragAndDrop hangs on Windows
- Resolved