Integrated: 8271484: Tree-/TableCell: NPE when accessing edit event from startEdit
Jeanette Winzenburg
fastegal at openjdk.java.net
Wed Aug 11 09:32:25 UTC 2021
On Thu, 29 Jul 2021 14:11:15 GMT, Jeanette Winzenburg <fastegal at openjdk.org> wrote:
> The NPE was an indirect effect:
>
> - the bug on part of the cell was an incorrect (== missing) edit location in cellEditEvent - that's fixed in this PR
> - a related bug is on part of the implementation of CellEditEvent (assuming that TablePosition != null, [JDK-8269871](https://bugs.openjdk.java.net/browse/JDK-8269871) which is not addressed in this PR
>
> Fix is to use the cell's state at startEdit for creating the editing location, added tests starting the edit on the cell that failed/passed before/after the fix, also added sanity tests with starting edit on the control that passed before/after.
This pull request has now been integrated.
Changeset: 852d2875
Author: Jeanette Winzenburg <fastegal at openjdk.org>
URL: https://git.openjdk.java.net/jfx/commit/852d2875248040ea5eff2b41bd23a4fde02486a9
Stats: 57 lines in 4 files changed: 53 ins; 2 del; 2 mod
8271484: Tree-/TableCell: NPE when accessing edit event from startEdit
Reviewed-by: aghaisas
-------------
PR: https://git.openjdk.java.net/jfx/pull/592
More information about the openjfx-dev
mailing list