<AWT Dev> RFR: 8198626: java/awt/KeyboardFocusmanager/TypeAhead/TestDialogTypeAhead.html fails on mac

Pankaj Bansal pankaj.b.bansal at oracle.com
Thu Jun 25 08:05:38 UTC 2020


Hello Phil,

Thanks for the review.

<<  Execution failed: Applet thread threw exception: 
java.lang.RuntimeException: robotSema hasn't been triggered

<<Shouldn't we be doing something about that too ?

I think that issue was because of instability due to use of Applets, 
which was fixed under https://bugs.openjdk.java.net/browse/JDK-8213110. 
I checked this by running the test with Applet and the test failed twice 
on Mac (Links in JBS). I was not able to get this error without applets 
even once in multiple runs.

So I am disposing the frames properly and removing this from ProblemList 
in current fix.


Regards,

Pankaj


On 01/06/20 4:14 AM, Philip Race wrote:
> Hi,
>
> I don't see how sometimes not disposing the frame would have caused 
> the failure cited in the bug report.
>
> > Execution failed: Applet thread threw exception: 
> java.lang.RuntimeException: robotSema hasn't been triggered
>
> Shouldn't we be doing something about that too ?
>
> -phil
>
> On 5/31/20, 11:47 AM, Pankaj Bansal wrote:
>> Hi All,
>>
>> Please review the following test only fix for jdk15.
>>
>> Bug : https://bugs.openjdk.java.net/browse/JDK-8198626
>> webrev: http://cr.openjdk.java.net/~pbansal/8198626/webrev00/ 
>> <http://cr.openjdk.java.net/%7Epbansal/8198626/webrev00/>
>>
>> This test was added to the ProblemList as it was failing 
>> continuously    .
>> I have made some changes to properly dispose the frame to stabilize 
>> the test. I have run multiple iterations of the test on mach5 and it 
>> is always passing. Links in JBS.
>>
>> Regards
>> Pankaj

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/awt-dev/attachments/20200625/a5bd7f32/attachment.htm>


More information about the awt-dev mailing list