On Fri, 24 Sep 2021 19:57:50 GMT, Sergey Bylokhov <s...@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

Reply via email to