On Fri, 17 Apr 2026 03:31:40 GMT, Jeremy Wood <[email protected]> wrote:

> This adds a null check in case SwingUtilities.getWindowAncestor is null.
> 
> Although I developed a jtreg test in the original ticket write-up for 
> 8382396, I later realized I can just ask the preexisting test for JDK-8170794 
> to run with different VM options to help test this issue.
> 
> ---------
> - [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: b96473ca
Author:    Jeremy Wood <[email protected]>
Committer: Alexey Ivanov <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/b96473cac6a257e36d3038e4f3616d2b6d8c455f
Stats:     9 lines in 2 files changed: 1 ins; 4 del; 4 mod

8382396: RepaintManager throws NPE when painting detached JPanel without 
volatile buffering

Reviewed-by: aivanov, prr

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

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

Reply via email to