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

JFileChooser throws OOM in 1.4.2, 5.0u4 and 1.6.0

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b02
    • CPU:
      generic, x86
    • OS:
      generic, windows_xp

      Backports

        Description

        JFileChooser seems to cause OutOfMemory.

        CONFIGURATION:
         -OS : winXP(SP2,Japanese)
         -JRE : 1.4.2_11, 5.0u4, mustangb75

        REPRODUCE:
         1) Compile the attached test program, JFileChooserTest.java
         2) Launch
               java -Xmx8m -verbose:gc JFileChooserTest > log 2>&1

         3) A dialogue appears,
            if you use 1.4.2_XX, please click go button.
            if 5.0ux, please set 200 to text box of "repeat count"
           Then Click "Go" BUtton.

         4) when the program stopped, please refer to log file.
            OutOfMemory message appears.
          

        NOTE:
          - -Xmx8m is specified to reproduce quickly.
             Actual licnesee program does not set such small heap size.
          - When we use JFileChose, updateUI() might not be applied.
            This is speficied to show the possibility of some leak in JFIleChooser.
            That's specified only for quick reproduction.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                loneid Leonid Popov (Inactive)
                Reporter:
                pgsunw Praveen G (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: