-
Bug
-
Resolution: Fixed
-
P2
-
1.4.0
-
None
-
beta
-
x86
-
windows_nt
-
Verified
Using JFileChooser, one can temporarily freeze SwingSet2, and I assume other applications.
To reproduce, using an updated Swing workspace, run SwingSet2 and open the JFileChooser demo. Bring up the plain JFileChooser and try to select, using the JComboBox at the top, a drive or folder other than the one currently selected. After realeasing the mouse over a selection, the JComboBox remains open and everything seems to freeze for awhile. If it doesn't happen the first time, try it again. This also happens sometimes when double-clicking a folder to open it in the file list below. In this case, the JComboBox is updated to reflect the folder name, and then things freeze.
I believe the problem has to do with the updating of the file list. A couple of times I tried suspending the program while it was frozen (using CTRL-Pause on my PC) and it appears that two threads are trying to execute sun.awt.shell.Win32ShellFolder.getNextChild. Could be a deadlock.
============================================================================
Verified in MB60
###@###.### 2002-01-15
=============================================================================
Mistake above ; Verified in MB91
###@###.### 2002-01-15
==============================================================================
To reproduce, using an updated Swing workspace, run SwingSet2 and open the JFileChooser demo. Bring up the plain JFileChooser and try to select, using the JComboBox at the top, a drive or folder other than the one currently selected. After realeasing the mouse over a selection, the JComboBox remains open and everything seems to freeze for awhile. If it doesn't happen the first time, try it again. This also happens sometimes when double-clicking a folder to open it in the file list below. In this case, the JComboBox is updated to reflect the folder name, and then things freeze.
I believe the problem has to do with the updating of the file list. A couple of times I tried suspending the program while it was frozen (using CTRL-Pause on my PC) and it appears that two threads are trying to execute sun.awt.shell.Win32ShellFolder.getNextChild. Could be a deadlock.
============================================================================
Verified in MB60
###@###.### 2002-01-15
=============================================================================
Mistake above ; Verified in MB91
###@###.### 2002-01-15
==============================================================================