JDK-8033239 : Test javax/swing/JFileChooser/8013442/Test8013442.java fails on MacOSX
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 7,8
  • Priority: P3
  • Status: Resolved
  • Resolution: Duplicate
  • OS: os_x
  • CPU: x86_64
  • Submitted: 2014-01-30
  • Updated: 2014-01-30
  • Resolved: 2014-01-30
Related Reports
Duplicate :  
Description
Testsuite name: Regression 
Test name: javax/swing/JFileChooser/8013442/Test8013442.java
JDK tested: JDK 8 b126 
OS tested: MacOSX 
Test fails against JDK 8 b100, b126 
Test fails against JDK 7u51 b14, 7u55 b05 

LOG: 

#section:main
----------messages:(3/120)----------
command: main Test8013442
reason: Assumed action based on file name: run main Test8013442 
elapsed time (seconds): 2.68
----------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:(17/1269)----------
2014-01-30 14:55:01.291 java[92376:507] ApplePersistenceIgnoreState: Existing state will not be touched. New state will be written to /var/folders/1n/2sd5m7tj7cx_wpvl_jc55lhr001wjw/T/net.java.openjdk.cmd.savedState
java.lang.Error: file filter is not selected
	at Test8013442.run(Test8013442.java:101)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:744)
	at java.awt.EventQueue.access$400(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:697)
	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:714)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Comments
The fix for the issue JDK-8010718 also fixes the test javax/swing/JFileChooser/8013442/Test8013442.java
30-01-2014

It is the expected behavior after reverting the fix JDK-8022398 because of the P1 request JDK-8032063
30-01-2014