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

Guru Hb ghb at openjdk.java.net
Tue Jan 14 12:12:46 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.

+1, Looks good to me.

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

Marked as reviewed by ghb (Reviewer).

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


More information about the openjfx-dev mailing list