RFR: 8237372: NullPointerException in TabPaneSkin.stopDrag
kcr at openjdk.java.net
Tue Jan 21 19:23:52 UTC 2020
On Mon, 20 Jan 2020 10:00:55 GMT, Robert Lichtenberger <rlichten at openjdk.org> wrote:
> Test simulates a single mouse-released event.
> Fix simply guards against the null case.
@arapte - can you review this?
The only question I have is whether is is expected that `dragTabHeader` can be null. If we understand why it is null, and that it isn't an error for it to be null, then the fix is fine. If its being null is unexpected, then the fix might just be masking the real problem. There isn't enough information in this PR to be able to evaluate this.
More information about the openjfx-dev