United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7199708 FileChooser crashs when opening large folder
JDK-7199708 : FileChooser crashs when opening large folder

Details
Type:
Bug
Submit Date:
2012-09-19
Status:
Resolved
Updated Date:
2013-09-16
Project Name:
JDK
Resolved Date:
2012-10-18
Component:
client-libs
OS:
windows
Sub-Component:
javax.swing
CPU:
x86
Priority:
P3
Resolution:
Fixed
Affected Versions:
7u4
Fixed Versions:

Related Reports
Backport:
Backport:
Duplicate:
Duplicate:
Relates:

Sub Tasks

Description
FileChooser crashes when it tries to open folder with large number of files. The system is a Vista 32 bit with 1.7.0_07-b10. See hs_err for details.


Steps to reproduce:

* open the file chooser.
* navigate to a large folder (845 files) on a hard disk (on a SSD it work without crash)
* change to details view
* order after the file size. Now you can see the first graphical artefacts
* scroll in the list


                                    

Comments
PUBLIC COMMENTS

is it reproduced on 7u6 as well?
                                     
2012-09-21
PUBLIC COMMENTS

checking...
                                     
2012-09-24
Yes, it could be reproduced with previous 7u releases up to 7u4.
                                     
2012-09-28
2 More error log files had been attached.
                                     
2012-09-28
CAP member had verified same crash can be reproduced with previous 7u releases up to 7u4
                                     
2012-09-28
The Win32ShellFolder2 is disposed during the ColumnComparator execution so the parentIShellFolder stored in the ColumnComparator  class becomes invalid.
                                     
2012-10-03
URL:   http://hg.openjdk.java.net/jdk8/awt/jdk/rev/9c6f60a4e996
User:  alexsch
Date:  2012-10-18 13:52:26 +0000

                                     
2012-10-18
URL:   http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/9c6f60a4e996
User:  lana
Date:  2012-10-31 02:51:07 +0000

                                     
2012-10-31
The test has been added by fix JDK-8024413  Add tests for issues JDK-8002077 and JDK-7199708 
See test/javax/swing/JFileChooser/7199708/bug7199708.java
                                     
2013-09-16



Hardware and Software, Engineered to Work Together