Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6584600

JFileChooser: application stucks after entering in directory witch many zip files.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 6
    • client-libs
    • None

      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);
         }
      }

            loneid Leonid Popov (Inactive)
            alejoevorcl Alexander Lejoev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: