Integrated: 8299337: The java.awt.image.ColorModel#pData field is unused

Sergey Bylokhov serb at openjdk.org
Fri Jan 6 23:11:59 UTC 2023


On Sat, 24 Dec 2022 03:49:38 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

> I have found that we store the native pointer in the "java.awt.image.ColorModel#pData" field and never update/clean it. We can check how and when the native data is deallocated and reset the pointer, but it will be easy just to delete the field as unused.

This pull request has now been integrated.

Changeset: 73101314
Author:    Sergey Bylokhov <serb at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/7310131409d3be351e780696173e7354ab51e467
Stats:     13 lines in 5 files changed: 0 ins; 10 del; 3 mod

8299337: The java.awt.image.ColorModel#pData field is unused

Reviewed-by: prr

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

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



More information about the client-libs-dev mailing list