RFR: 8255248: NullPointerException in JFXPanel due to race condition in HostContainer [v3]

Prasanta Sadhukhan psadhukhan at openjdk.org
Thu Jul 20 10:12:09 UTC 2023


> Due to transient datatype of scenePeer, it can become null which can result in NPE in scenarios where scene is continuously been reset and set, which warrants a null check, as is done in other places for the same variable.

Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:

  Check FXEnabled initially

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

Changes:
  - all: https://git.openjdk.org/jfx/pull/1178/files
  - new: https://git.openjdk.org/jfx/pull/1178/files/73a3e6b0..c5c300db

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

  Stats: 12 lines in 1 file changed: 9 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jfx/pull/1178.diff
  Fetch: git fetch https://git.openjdk.org/jfx.git pull/1178/head:pull/1178

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


More information about the openjfx-dev mailing list