On Thu, 16 Jun 2022 11:30:01 GMT, Maxim Kartashev <[email protected]> 
wrote:

> Even though I have not been able to reproduce the crash by hand, the problem 
> and the fix are fairly obvious: 
> `CWarningWindow` doesn't have a peer, so `platformWindow.getPeer()` can be 
> null in that case. The fix is to accomodate for that in 
> `CPlatformComponent.setBounds()`. Similar provisions exist elsewhere in the 
> vicinity (for ex. `CPlatformLWWindow.setBounds()`, 
> `CPlatformWindow.maximize()`, etc).

Marked as reviewed by [email protected] (no known OpenJDK username).

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

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

Reply via email to