RFR: 8236912: Preventing NPE when clicking WebView with forward/back mouse buttons

Kevin Rushforth kcr at openjdk.java.net
Tue Jan 14 12:06:58 UTC 2020


On Tue, 14 Jan 2020 12:01:11 GMT, Robert Lichtenberger <rlichten at openjdk.org> wrote:

> As documented in JDK-8236912, WebView did not check whether the idMap really contained a mapping for the given button, making it prone to errors, when things are extended (as has happened here).
> 
> The fix consists of two test cases that show the problem in unfixed WebViews and a fix which works analogously to the check whether the given event type is mapped.

The PR title should match the title of the bug report in JBS exactly. Can you change it to:

8236912: NullPointerException when clicking in WebView with Button 4 or Button 5

This will need two reviewers. I'll review it and also request @guruhb to review.

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

PR: https://git.openjdk.java.net/jfx/pull/85


More information about the openjfx-dev mailing list