On Tue, 25 Apr 2023 16:19:15 GMT, Damon Nguyen <dngu...@openjdk.org> wrote:
>> it is fine to call dispose here on the main, but the frame possibly can be >> null here. > > I have updated the tests to all dispose on the EDT just in case. The problem is not in the "dispose" but in the next check "frame != null" the frame variable can be null here even if frame is shown on the screen. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/13591#discussion_r1178722196