RFR: 8324239: JFXPanelHiDPITest fails on Windows 11 [v3]
Andy Goryachev
angorya at openjdk.org
Mon Jan 22 19:55:38 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
I wish the test class had a description.
It is not immediately apparent that this is a windows-only test without reading the whole thing very carefully.
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1344#issuecomment-1904702195
More information about the openjfx-dev
mailing list