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

Christopher Schnick duke at openjdk.org
Tue Jan 13 18:12:28 UTC 2026


On Mon, 12 Jan 2026 23:54:39 GMT, Christopher Schnick <duke at openjdk.org> wrote:

>> 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:
> 
>   Preserve original logic even more

I added a test case to reproduce this issue.

I have two questions about the general workflow here:
1. If an issue is set to private, how does that happen / what does that mean? I was under the impression that all issues are public unless they are related to security or something. And the linked issue does not look like a security issue
2. How exactly is the requirement for a reproducer defined? Like if I observe that an issue is happening, but can't reproduce it manually, is a constructed test case good enough?

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

PR Comment: https://git.openjdk.org/jfx/pull/2034#issuecomment-3745683675


More information about the openjfx-dev mailing list