JDK-4990476 : Regression: JFileChooser return null value when user select a nonexist file
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 5.0
  • Priority: P1
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic,windows_nt
  • CPU: generic,x86
  • Submitted: 2004-02-06
  • Updated: 2004-02-09
  • Resolved: 2004-02-09
Related Reports
Duplicate :  
Duplicate :  
Description
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.


Comments
EVALUATION Name: keR10081 Date: 02/09/2004 This is a side effect of fix for bug 4922507, which would be fixed in 4980406. Closing as a duplicate. ###@###.### ======================================================================
24-08-2004