United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7124387 [macosx] Application freezes on dispose window, created by JFileChooser
JDK-7124387 : [macosx] Application freezes on dispose window, created by JFileChooser

Details
Type:
Bug
Submit Date:
2011-12-23
Status:
Closed
Updated Date:
2013-10-31
Project Name:
JDK
Resolved Date:
2012-03-05
Component:
client-libs
OS:
os_x
Sub-Component:
javax.swing
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:
7u4 (b11)

Related Reports

Sub Tasks

Description
http://java.net/jira/browse/MACOSX_PORT-279 submitted 2011/08/16 by Alexander Petrov
1) reate dialog by JFileChooser.showOpenDialog(null)
2) Get created window
3) Call dispose.
Result: Application freezes on step 3.
Build: b203
Keywords: test-fail-macos
Tests failed (Regression):
javax/swing/JFileChooser/6489130/bug6489130.java

                                    

Comments
EVALUATION

on MacOS it takes more time for the test to warm,
so the 10 seconds timeout is not enough. 
We should remove the internal timeout check
        if (!MUX.await(10, TimeUnit.SECONDS)) {
            throw new RuntimeException("Timeout");
        }
and rely on the default jtreg's timeout.

downgraded and accepted
                                     
2012-01-23



Hardware and Software, Engineered to Work Together