RFR: 7001973: java/awt/Graphics2D/CopyAreaOOB.java fails

Sergey Bylokhov serb at openjdk.java.net
Fri Oct 1 03:03:26 UTC 2021


On Thu, 30 Sep 2021 08:40:44 GMT, Masanori Yano <myano at openjdk.org> wrote:

> At 1st PaintEvent is processing, RepaintArea calls getGraphics(), then D3DScreenUpdateManager finally calls new PaintEvent().
> So, 2nd PaintEvent is posted and invoked later on EDT.

It does not look right, isn't it? Every time we show a frame we render its content twice, and the first rendering is always discarded. Probably we should validate the surface before we posting the first paint event and before we show the window.

-------------

PR: https://git.openjdk.java.net/jdk/pull/5491



More information about the client-libs-dev mailing list