RFR: 8357299: Graphics copyArea doesn't copy any pixels when there is overflow
Sergey Bylokhov
serb at openjdk.org
Fri May 30 02:40:00 UTC 2025
On Fri, 30 May 2025 02:06:29 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
>We have not found any problem with that part of code so far..
This is incorrect because the clip bounds are relative to the destination (dst), so you cannot intersect them directly with the source (src) surface. The usage of UNSAFE_TO_SUB below is also wrong, we cannot just exists.
filed https://bugs.openjdk.org/browse/JDK-8358103
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/25340#discussion_r2115043873
More information about the client-libs-dev
mailing list