<AWT Dev> RFR - HandleExceptionOnEDT test fix

Michal Vala mvala at redhat.com
Tue Dec 12 12:50:55 UTC 2017


Hi,

I have little patch fixing HandleExceptionOnEDT test. It is failing with:
java.lang.RuntimeException: Test FAILED: exception is not handled for modal dialog

The reason is that Robot#mouseRelease call is on wrong button thus button is 
never released in this test and second part of it fails.

I've also replaced deprecated InputeEvent.BUTTON1_MASK for 
InputeEvent.BUTTON1_DOWN_MASK.


webrev: https://michalvala.fedorapeople.org/webrevs/HandleExceptionOnEDT/webrev.00/

-- 
Michal Vala
OpenJDK QE
Red Hat Czech


More information about the awt-dev mailing list