This test was seen to be failing long time back citing "exception is not 
handled for modal dialog "
with stacktrace for some failiures seen to be

sun.awt.SunToolkit$OperationTimedOut: 10469
        at sun.awt.X11.XToolkit.syncNativeQueue(XToolkit.java:2447)
        at sun.awt.SunToolkit.realSync(SunToolkit.java:1574)
        at sun.awt.SunToolkit.realSync(SunToolkit.java:1506)
        at test.java.awt.regtesthelpers.Util.waitForIdle(Util.java:184)
        at HandleExceptionOnEDT.main(HandleExceptionOnEDT.java:75)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at 
com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:96)
        at java.lang.Thread.run(Thread.java:722)
This relasync issue was fixed in 8196100 and this test is now passing 
consistently.
Even then, I have added a delay to test after the frame/dialog is visible in 
sync with similar other tests and also dispose off the frame/dialogs at the end 
in proper finally block.
Several iterations of test pass in all platforms.

@jayathirthrao can you please take a look?

-------------

Commit messages:
 - Fix
 - 8203047: [macosx] 
java/awt/EventDispatchThread/HandleExceptionOnEDT/HandleExceptionOnEDT.java 
fails

Changes: https://git.openjdk.java.net/jdk/pull/3749/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3749&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8203047
  Stats: 171 lines in 2 files changed: 74 ins; 67 del; 30 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3749.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3749/head:pull/3749

PR: https://git.openjdk.java.net/jdk/pull/3749

Reply via email to