On Mon, 9 Nov 2026 16:10:33 GMT, Christopher Schnick <[email protected]> wrote:
> This PR fixes some rare NPEs I saw some users encounter when a window was > hidden. The tests should cover all those potential issues and should fail > without this PR and succeed with this PR. > > I originally only wanted to fix the 1. NPE because that actually happened to > some users, but during that I realized that the 2. NPE can also be provoked > if you write a listener that just hides the window on some window events. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). LGTM. I verified that the supplied test fails without the fix and passes with the fix. ------------- Marked as reviewed by kcr (Lead). PR Review: https://git.openjdk.org/jfx/pull/2364#pullrequestreview-5829887081
