Integrated: 4200096: OffScreenImageSource.removeConsumer NullPointerException

Jeremy duke at openjdk.org
Wed May 3 20:51:33 UTC 2023


On Mon, 10 Apr 2023 16:16:32 GMT, Jeremy <duke at openjdk.org> wrote:

> This resolves a 25 year old P4 ticket: a NullPointerException is printed to System.err needlessly.
> 
> This resolution involves confirming that an ImageConsumer is still registered before every notification.
> 
> I'll understand if this is rejected as unimportant, but I stumbled across this in the real world the other day and thought this was a simple enough bug to practice on.

This pull request has now been integrated.

Changeset: 63cd0a36
Author:    jeremy <jeremy.wood at mac.com>
Committer: Phil Race <prr at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/63cd0a36dabb3b3446996d0409803238f81fc197
Stats:     394 lines in 5 files changed: 392 ins; 0 del; 2 mod

4200096: OffScreenImageSource.removeConsumer NullPointerException

Reviewed-by: prr, serb

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

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



More information about the client-libs-dev mailing list