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

Prasanta Sadhukhan psadhukhan at openjdk.org
Mon Jan 22 09:56:01 UTC 2024


> 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

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

Changes:
  - all: https://git.openjdk.org/jfx/pull/1344/files
  - new: https://git.openjdk.org/jfx/pull/1344/files/09be9a2a..b35b29b9

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jfx&pr=1344&range=02
 - incr: https://webrevs.openjdk.org/?repo=jfx&pr=1344&range=01-02

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jfx/pull/1344.diff
  Fetch: git fetch https://git.openjdk.org/jfx.git pull/1344/head:pull/1344

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


More information about the openjfx-dev mailing list