RFR: 8375070: NPE in Scene.ClickGenerator::preProcess when mouse button is none [v2]

Christopher Schnick duke at openjdk.org
Mon Jan 12 23:40:37 UTC 2026


> A straightforward fix to just include MouseButton.NONE in the click counter map in cases weird mouse button events are sent. Alternatively, these events could also be ignored/dropped at some point

Christopher Schnick has updated the pull request incrementally with one additional commit since the last revision:

  Retain original logic better

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

Changes:
  - all: https://git.openjdk.org/jfx/pull/2034/files
  - new: https://git.openjdk.org/jfx/pull/2034/files/ea068f4c..f6f88a54

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

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

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


More information about the openjfx-dev mailing list