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

SWinxy duke at openjdk.org
Fri Dec 30 06:13:01 UTC 2022


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.

Marked as reviewed by SWinxy at github.com (no known OpenJDK username).

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

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



More information about the client-libs-dev mailing list