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

Masanori Yano myano at openjdk.java.net
Tue Sep 28 07:20:08 UTC 2021


On Fri, 24 Sep 2021 19:57:50 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

> So the "sun.awt.noerasebackground" property may fix the problem? 

Yes. With `-Dsun.awt.noerasebackground=true`, original CopyAreaOOB.java is Passed. But it is just a workaround.

paint() is called twice with default settings on Windows, so my suggested fix is more realistic and reasonable than original code with `-Dsun.awt.noerasebackground=true`.

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

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



More information about the client-libs-dev mailing list