> 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).

Jeremy Wood has updated the pull request incrementally with one additional 
commit since the last revision:

  Apply suggestion from @aivanov-jdk
  
  Co-authored-by: Alexey Ivanov <[email protected]>

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/30783/files
  - new: https://git.openjdk.org/jdk/pull/30783/files/5dc5d56f..80110f7d

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=30783&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=30783&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/30783.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/30783/head:pull/30783

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

Reply via email to