JDK-6584600 : JFileChooser: application stucks after entering in directory witch many zip files.
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 6
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2007-07-24
  • Updated: 2011-02-16
  • Resolved: 2007-10-15
Related Reports
Duplicate :  
Description
Try to open a directory witch big zip files (my case - 30 zip files with ~60000 files and directories, total size ~170M). Application is not responding for 2-4 minutes. With 1.6.0_01 works without delay. Windows XP.  

>java -version
java version "1.6.0_02"
Java(TM) SE Runtime Environment (build 1.6.0_02-b05)
Java HotSpot(TM) Client VM (build 1.6.0_02-b05, mixed mode, sharing)

Test code:
# FileChooser test
import java.util.*;
import javax.swing.*;

class test
{
   public static void main(String [] args)
   {
      JFrame frame = new JFrame();

      JFileChooser fc = new JFileChooser();
      int val = fc.showOpenDialog(frame);
      System.exit(0);
   }
}