JDK-8010718 : [macosx] JFileChooser current filter nullified by addChoosableFileFilter
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 7u4,7u17,7u71,8
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: os_x
  • CPU: x86
  • Submitted: 2013-03-25
  • Updated: 2014-07-29
  • Resolved: 2014-04-09
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8 JDK 9
8u20 b11Fixed 9Fixed
Related Reports
Duplicate :  
Duplicate :  
Duplicate :  
Description
JFileChooser.addChoosableFileFilter(FileFilter) nullify current file filter returned by JFileChooser.getFileFilter(). See attached test case. 
This is Mac OS X only issue. Linux and Windows works fine and JDK 6 on Apple also works fine.
Comments
RULE Swing_JFileChooser/Automated/JFileChooserFilter Exception java.lang.RuntimeException: getFileFilter() should not return null
28-07-2014

Will fix available for jdk 7?
28-07-2014

The test javax/swing/JFileChooser/8013442/Test8013442.java should not fail.
30-01-2014

Release team: Approved for deferral.
24-01-2014

JDK8: SQE OK to defer
24-01-2014

Defer justification: The issue is not critical and not a show stopper for JDK 8. It has been fixed as part of the issue JDK-8022398 but then rolled back.
24-01-2014

Suggested fix: http://cr.openjdk.java.net/~malenkov/8022398.8.0/
24-01-2014

The original issue JDK-8022398 has been rolled back.
24-01-2014

Fixed as part of the issue JDK-8022398 Use one FilterComboBoxModel for all L&Fs
30-08-2013