[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-2d-dev
Subject: Re: [OpenJDK 2D-Dev] Review request for 8144033 : [TEST_BUG] delays needed in RenderingToCachedGraph
From: Sergey Bylokhov <Sergey.Bylokhov () oracle ! com>
Date: 2015-12-31 12:17:51
Message-ID: 56851CEF.2090904 () oracle ! com
[Download RAW message or body]
Hi, Ajit.
Did you check why Toolkit.getDefaultToolkit().sync(); does not work?
Call to sync should be enough to flush gdi,d3d,ogl pipelines(including
native state) to make visible on the screen the call fillRect.
On 31/12/15 13:41, Ajit Ghaisas wrote:
> Hi,
>
> Please review the fix for JDK9.
>
> Webrev: http://cr.openjdk.java.net/~arapte/ajit/8144033/webrev.00/
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8144033
>
> Issue :
>
> The test fails intermittently on slower systems. It passes on
> relatively faster systems.
>
> Fix :
>
> 1.Robot object is created earlier
>
> 2.Added delay after fillRect() calls – the method runTest() is executed
> in AWT-EventQueue processing thread hence, we cannot invoke
> robot.waitForIdle(). Therefore, delay() method is used.
>
> Regards,
>
> Ajit
>
--
Best regards, Sergey.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic