[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-2d-dev
Subject:    Integrated: JDK-8313164: src/java.desktop/windows/native/libawt/windows/awt_Robot.cpp GetRGBPixels
From:       Matthias Baesken <mbaesken () openjdk ! org>
Date:       2023-07-27 7:09:48
Message-ID: A-p2xt-VLccWsD7T3EKdlZ1nefhUjHtSSfh-CerbyJA=.a46ebb8a-9ac2-453c-a69f-7bed2f6a972a () github ! com
[Download RAW message or body]

On Wed, 26 Jul 2023 10:43:20 GMT, Matthias Baesken <mbaesken@openjdk.org> wrote:

> In src/java.desktop/windows/native/libawt/windows/awt_Robot.cpp GetRGBPixels we \
> release some resources at the end of the function by calling DeleteObject/DeleteDC. \
> This is recommended by the MS API docs. However this should be done as well in some \
> early leaving with throw that can occur in this function.

This pull request has now been integrated.

Changeset: b7545a69
Author:    Matthias Baesken <mbaesken@openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/b7545a69a27f255cbf26071be5b88f6e3e6b3cd6
                
Stats:     20 lines in 1 file changed: 17 ins; 0 del; 3 mod

8313164: src/java.desktop/windows/native/libawt/windows/awt_Robot.cpp GetRGBPixels \
adjust releasing of resources

Reviewed-by: stuefe

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

PR: https://git.openjdk.org/jdk/pull/15038


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic