Integrated: 8324239: JFXPanelHiDPITest fails on Windows 11

Prasanta Sadhukhan psadhukhan at openjdk.org
Mon Jan 29 07:09:42 UTC 2024


On Mon, 22 Jan 2024 09:01:10 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..

This pull request has now been integrated.

Changeset: 876d5356
Author:    Prasanta Sadhukhan <psadhukhan at openjdk.org>
URL:       https://git.openjdk.org/jfx/commit/876d5356bd9a86b77bfde9407fec9977611fa545
Stats:     4 lines in 1 file changed: 2 ins; 0 del; 2 mod

8324239: JFXPanelHiDPITest fails on Windows 11

Reviewed-by: angorya, kcr

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

PR: https://git.openjdk.org/jfx/pull/1344


More information about the openjfx-dev mailing list