JDK-8022398 : Use one FilterComboBoxModel for all L&Fs
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 7,8
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2013-08-06
  • Updated: 2014-03-04
  • Resolved: 2013-08-27
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
8 b110Fixed
Related Reports
Duplicate :  
Duplicate :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
fails with jdk1.8.0b100_compiler_upgrades, jdk1.8.0b99, jdk1.7.0_25b15

----------System.out:(18/262)----------
Metal
count = 1; true
count = 2; true
count = 1; false
count = 0; false
Nimbus
count = 1; true
count = 2; true
count = 1; false
count = 0; false
CDE/Motif
count = 1; true
count = 2; true
count = 1; false
count = 0; false
Mac OS X
count = 1; true
count = 2; true
----------System.err:(16/1055)----------
java.lang.Error: file filter is not selected
	at Test8013442.run(Test8013442.java:101)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:741)
	at java.awt.EventQueue.access$400(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:694)
	at java.awt.EventQueue$3.run(EventQueue.java:691)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:711)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:220)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:135)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:123)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:119)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:111)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)
result: Failed. Unexpected exit from test [exit code: 1]


test result: Failed. Unexpected exit from test [exit code: 1]
Comments
I created the new enhancement for the code refactoring JDK-8032638 Use one FilterComboBoxModel for all L&Fs (which requires the CCC request) and reopened the original issue JDK-8010718 [macosx] JFileChooser current filter nullified by addChoosableFileFilter (which can be easily fixed without the code refactoring)
24-01-2014

Alexander, please open new bug to track this issue, since we rolled back by P1 fix JDK-8032063 javax.swing.plaf.metal.MetalFileChooserUI$FilterComboBoxModel extends non-standard API
23-01-2014