RFR: 8282526: Default icon is not painted properly

Alexey Ivanov aivanov at openjdk.java.net
Wed Mar 16 20:59:45 UTC 2022


On Wed, 16 Mar 2022 18:56:39 GMT, Alexander Zuev <kizune at openjdk.org> wrote:

> The problem is attempt to set it back to null causes NPE. null value means it is not set and there is no method to remove the hint.

If the default value for `KEY_INTERPOLATION` is not `VALUE_INTERPOLATION_NEAREST_NEIGHBOR`, it will be changed to a non-default value after painting the icon. Right?

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

PR: https://git.openjdk.java.net/jdk/pull/7805



More information about the client-libs-dev mailing list