RFR: 8371128: NullPointerException occurs due to double cleanup of SwingNode [v2]
Prasanta Sadhukhan
psadhukhan at openjdk.org
Tue Nov 4 17:13:28 UTC 2025
On Tue, 4 Nov 2025 16:50:10 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:
>> Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Test message
>
> tests/manual/swing/JavaSwingNodeCleanupBug.java line 57:
>
>> 55: passButton.setOnAction(e -> this.quit());
>> 56: failButton.setOnAction(e -> {
>> 57: this.quit();
>
> Minor: Maybe throw an exception or print an error message here?
We already have an NPE so guess it will be better to have a message than another exception...Updated
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/1960#discussion_r2491369990
More information about the openjfx-dev
mailing list