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). Perhaps my initial analysis about `CWarningWindow` is incorrect, but I can't seem to find any connection between that and `CPlatformComponent`. So maybe the culprit is actually outside of OpenJDK code... ------------- PR: https://git.openjdk.org/jdk/pull/9184
