RFR: 8324239: JFXPanelHiDPITest fails on Windows 11 [v3]
Andy Goryachev
angorya at openjdk.org
Mon Jan 22 20:28:39 UTC 2024
On Mon, 22 Jan 2024 09:56:01 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
>> Test fails with
>>
>> JFXPanelHiDPITest > testScale FAILED
>> java.lang.NullPointerException: Cannot invoke "java.awt.image.BufferedImage.getWidth()" because "pixelsIm" is null
>>
>> because scenePeer is not yet created as the test is run with invokeLater.
>> FIx is to make it run with invokeAndWait so that it waits for the scene to be created..
>
> Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:
>
> Use Platform.runAndWait
looks good.
Are there any other places where we invokeLater() instead of invokeAndWait()?
And runLater() instead of runAndWait() ?
-------------
Marked as reviewed by angorya (Reviewer).
PR Review: https://git.openjdk.org/jfx/pull/1344#pullrequestreview-1837300279
More information about the openjfx-dev
mailing list