On Tue, 28 Sep 2021 07:15:44 GMT, Masanori Yano <my...@openjdk.org> wrote:

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

Yes, it is just a workaround that most probably will not work on other 
platforms. But EDT freeze for some time after copyarea will work.

> 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`.

Do you know why we post it twice? It does not seem right, since we repaint all 
content in the apps like Netbeans/Idea and it is quite a heavyweight operation.

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

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

Reply via email to