<Swing Dev> 8168540: [TEST_BUG] On Unity, need a delay before screenshot taking to avoid animation

Yuri Nesterenko yuri.nesterenko at oracle.com
Thu Oct 27 08:54:26 UTC 2016


Oh yes, this fix does help.
My system is not particularly slow but it is dual-screen,
Ubuntu 16.10 -- timing may differ.

Approved.

Thanks,
-yan

On 10/27/2016 11:34 AM, Avik Niyogi wrote:
> It did not fail on my system but it probably failed for slow systems in
> testing environment.
> Similar cases raised by Yuri had happened for several other cases which
> was confirmed to be fixed by the delay by him.
>
> With Regards,
> Avik Niyogi
>> On 27-Oct-2016, at 1:55 pm, Prasanta Sadhukhan
>> <prasanta.sadhukhan at oracle.com <mailto:prasanta.sadhukhan at oracle.com>>
>> wrote:
>>
>> Hi Avik,
>>
>> Did the test fail for you? I ran with the launcher auto-hidden in
>> ubuntu14.04 but it passed for me with the original testcode.
>>
>> Regards
>> Prasanta
>> On 10/26/2016 12:39 PM, Avik Niyogi wrote:
>>> Hi All,
>>>
>>> Kindly review the proposed fix for JDK9.
>>>
>>> *Bug: https://bugs.openjdk.java.net/browse/JDK-8168540*
>>> *
>>> *
>>> *Webrev: http://cr.openjdk.java.net/~aniyogi/8168540/webrev.00/
>>> <http://cr.openjdk.java.net/%7Eaniyogi/8168540/webrev.00/>*
>>> *
>>> *
>>> *Issue:* Animation before screen capture causes mismatch.
>>>
>>> *Cause: *Delay before screen capture albeit provided is not enough
>>>
>>> *Fix: *Delay provided to test case
>>>
>>> With Regards,
>>> Avik Niyogi
>>
>




More information about the swing-dev mailing list