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

Prasanta Sadhukhan psadhukhan at openjdk.org
Tue Jan 23 03:16:57 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 Util.runAndWait

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

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

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

  Stats: 3 lines in 1 file changed: 1 ins; 1 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