RFR: JDK-8357082 : Stabilize and add debug logs to CopyAreaOOB.java [v7]
Sergey Bylokhov
serb at openjdk.org
Mon Jun 2 20:57:11 UTC 2025
On Mon, 2 Jun 2025 19:11:12 GMT, Harshitha Onkar <honkar at openjdk.org> wrote:
>>> Added back Toolkit.sync() and canvas capture to paint method. Although I'm not sure if I understood _"each render frame"_ correctly. Can you please explain?
>>
>> The paint method may be invoked multiple times after the frame becomes visible, so the validation logic inside paint will be executed for each rendering data.
>
> oh okay, although when I debug I don't see paint method being called multiple times. Probably the case when frame is resized or screen configuration changes?
Yes, and validation of each frame will confirm no garbage on the screen.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/25279#discussion_r2122130577
More information about the client-libs-dev
mailing list