RFR: 7001973: java/awt/Graphics2D/CopyAreaOOB.java fails
Sergey Bylokhov
serb at openjdk.java.net
Fri Sep 24 20:00:57 UTC 2021
On Fri, 24 Sep 2021 11:17:18 GMT, Masanori Yano <myano at openjdk.org> wrote:
> This is a RepaintArea's behavior. clearRect() is called before paint() because shouldClearRectBeforePaint is true for Canvas. Then, if 2nd paint() is called and paint() does nothing, blank window will be drawn.
So the "sun.awt.noerasebackground" property may fix the problem? Or simple freeze the EDT after g2d.copyArea?
-------------
PR: https://git.openjdk.java.net/jdk/pull/5491
More information about the client-libs-dev
mailing list