Maxim Kartashev e00cf6bb79 JBR-3101 Exception in NSApplicationAWT: java.lang.NullPointerException at java.desktop/sun.lwawt.macosx.CPlatformComponent.setBounds
After CPlatformComponent.setBounds() was changed to allow for platformWindow.getPeer() == null, a few exceptions appeared that suggest platformWindow can also be null. This commit safeguards against this situation as well.

It seems that this can only be the case if the instance is created from outside of JDK, so Objects.requireNonNull() may help to catch the perpetrator.
2023-02-14 07:08:12 +01:00
2023-01-25 18:27:26 +00:00
2023-02-14 07:08:11 +01:00
2023-02-14 07:07:46 +01:00
2023-02-14 07:07:32 +01:00
2016-05-30 16:17:11 +02:00
2023-02-14 07:07:46 +01:00

official JetBrains project

Welcome to the JDK!

For build instructions please see the online documentation, or either of these files:

See https://openjdk.org/ for more information about the OpenJDK Community and the JDK and see https://bugs.openjdk.org for JDK issue tracking.

Description
Runtime environment based on OpenJDK for running IntelliJ Platform-based products on Windows, macOS, and Linux
Readme GPL-2.0 1.3 GiB
Languages
Java 73.7%
C++ 14%
C 8.1%
Assembly 2.7%
Objective-C 0.5%
Other 0.8%