RFR: 8324239: JFXPanelHiDPITest fails on Windows 11 [v4]

Kevin Rushforth kcr at openjdk.org
Tue Jan 23 12:57:38 UTC 2024


On Tue, 23 Jan 2024 03:16:57 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 Util.runAndWait

Marked as reviewed by kcr (Lead).

-------------

PR Review: https://git.openjdk.org/jfx/pull/1344#pullrequestreview-1838727446


More information about the openjfx-dev mailing list