<AWT Dev> Review request for 8048171: Test java/awt/Mixing/AWT_Mixing/OpaqueOverlappingChoice.java fails on solaris, linux but passes on windows

Semyon Sadetsky semyon.sadetsky at oracle.com
Mon Nov 2 09:20:21 UTC 2015


Hi Ambarish,

But I did not touch the mouse.
Usually mouse events come in the next sequence MOUSE_PRESSED, 
MOUSE_RELEASED,MOUSE_CLICKED. Why do you think that 
mouseClicked()->mousePressed() replacement should change something in 
the test?

--Semyon

On 11/2/2015 8:51 AM, Ambarish Rapte wrote:
>
> Dear  Semyon,
>
> This test uses the mouse for input.
>
> While the test is running with or without fix, mouse should not be 
> disturbed.
>
> ------------------------------
>
> guess we should not touch mouse while test in in progress, in that 
> case it passed.
> Fix looks fine to me.
>
> Regards
> Prasanta
>
> -----------------------------
>
> Prasanta also has verified similar way, that the test passes.
>
> Kindly request you to try again.
>
> Also If possible, please share the execution log of failure for me to 
> verify.
>
> Many Thanks,
>
> Ambarish
>
> *From:*Semyon Sadetsky
> *Sent:* Friday, October 30, 2015 10:07 PM
> *To:* Ambarish Rapte; Prasanta Sadhukhan; awt-dev at openjdk.java.net
> *Subject:* Re: Review request for 8048171: Test 
> java/awt/Mixing/AWT_Mixing/OpaqueOverlappingChoice.java fails on 
> solaris, linux but passes on windows
>
> Hi Ambarish,
>
> After your fix applying the test still fails.
>
> --Semyon
>
> On 10/29/2015 5:00 PM, Ambarish Rapte wrote:
>
>     Dear All,
>
>                     Kindly review the fix for JDK9.
>
>                     Bug: https://bugs.openjdk.java.net/browse/JDK-8048171
>
>                     Webrev:
>     http://cr.openjdk.java.net/~rchamyal/ambarish/8048171/webrev.00/
>     <http://cr.openjdk.java.net/%7Erchamyal/ambarish/8048171/webrev.00/>
>
>     Issue:
>
>                     This is an Opaque overlapping test for each AWT
>     component.
>
>                     To test this functionality, a MouseAdapter is
>     registered as mouseListener with overridden mouseClicked() .
>
>                     Test fails, due to issue with Event on
>     Linux/Solaris, that mouseClicked event is not generated correctly
>     to Choice.
>
>     Fix:
>
>                     This is an overlapping test and not a test for
>     mouseCicked() for Choice.
>
>                     The test simulates mouseClick event by
>     sequentially passing mousePress & mouseRelease events.
>
>                     Overriding mousePressed() instead of
>     mouseClicked() for the registered mouse adapter solves the issue,
>
>     without causing any side effect in test execution on Windows.
>
>     Fix Verification:
>
>                     Verified successful execution of below tests using
>     jtreg,
>
>     java/awt/Mixing/AWT_Mixing/OpaqueOverlapping.java
>
>     java/awt/Mixing/AWT_Mixing/OpaqueOverlappingChoice.java
>
>     Many Thanks,
>
>     Ambarish Rapte
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20151102/09530c05/attachment.html>


More information about the awt-dev mailing list