On Mon, 6 Jul 2026 13:03:31 GMT, Jose Pereda <[email protected]> wrote:

> This PR removes the stage from the active windows list after a destroy 
> notification, preventing a possible NPE in `WindowStage::setIconified`. 
> 
> A system test that fails before the proposed fix, and passes after it, has 
> been included.
> 
> ---------
> - [X] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

This pull request has now been integrated.

Changeset: dbaf948f
Author:    Jose Pereda <[email protected]>
URL:       
https://git.openjdk.org/jfx/commit/dbaf948f3d209553414f2534d76f63533fc787cc
Stats:     108 lines in 2 files changed: 107 ins; 0 del; 1 mod

8387626: java.lang.NullPointerException: Cannot invoke 
"com.sun.glass.ui.Window.isMinimized()" because "this.platformWindow" is null

Reviewed-by: angorya, kcr

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

PR: https://git.openjdk.org/jfx/pull/2202

Reply via email to