<AWT Dev> RFR - HandleExceptionOnEDT test fix
    Sergey Bylokhov 
    Sergey.Bylokhov at oracle.com
       
    Wed Dec 13 15:46:53 UTC 2017
    
    
  
Hi, Michal.
Do you have a bugid for this bug?
On 12/12/2017 04:50, Michal Vala wrote:
> 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/
> 
-- 
Best regards, Sergey.
    
    
More information about the awt-dev
mailing list