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

Regression: JFileChooser return null value when user select a nonexist file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P1 P1
    • None
    • 5.0
    • client-libs
    • generic, x86
    • generic, windows_nt

      The JFileChooser return a null value when user select a nonexist file in the fold (by just typing it in the text file of pop up window, then click open or save button). It return that file name in previous JRE release, 1.4.2 and 1.3, and I think it even works in early tiger build. This caused a big problem when we try to export a certficate into a file, if that file isn't exist in the directory, the operation will fail.

      I have attached a testcase to approve it. Please try to run it in early JRE release, it works fine.

            kereminsunw Konstantin Eremin (Inactive)
            dgu Dennis Gu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: