<AWT Dev> RFR - HandleExceptionOnEDT test fix
Sergey Bylokhov
Sergey.Bylokhov at oracle.com
Mon Dec 18 18:08:22 UTC 2017
I think you can use this old bug:
https://bugs.openjdk.java.net/browse/JDK-6990210
Please resend a review request using this bugid.
On 13/12/2017 22:04, Michal Vala wrote:
> I don't and I don't have an access to openjdk jira. Can you please
> create it for me?
>
> On 12/13/2017 04:46 PM, Sergey Bylokhov wrote:
>> 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