<AWT Dev> Review request for 8048171: Test java/awt/Mixing/AWT_Mixing/OpaqueOverlappingChoice.java fails on solaris, linux but passes on windows
prasanta.sadhukhan at oracle.com
Fri Oct 30 07:13:41 UTC 2015
guess we should not touch mouse while test in in progress, in that case
Fix looks fine to me.
On 10/30/2015 12:09 PM, prasanta sadhukhan wrote:
> Hi Ambarish,
> The bug was test was throwing "java.lang.RuntimeException: Opacity
> test mismatchs". Did this fix solve that problem?
> It seems to fail in my linux even with this fix.
> On 10/29/2015 7:30 PM, Ambarish Rapte wrote:
>> Dear All,
>> Kindly review the fix for JDK9.
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8048171
>> This is an Opaque overlapping test for each AWT
>> 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.
>> 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,
>> Many Thanks,
>> Ambarish Rapte
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the awt-dev