> This is a much simpler fix for JDK-8384806 which does not have any side > effects. > > This restores the old code with only a one line change instead. For > reference, see > https://github.com/openjdk/jfx/commit/8d917ae738120e12ac12cd0957879b7c00e59b03. > We now fix the issue by clearing the cell with `buttonCell.updateIndex(-1);` > as using `buttonCell.setItem(null);` was causing the original issue when the > item was already null. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai).
Christopher Schnick has updated the pull request incrementally with one additional commit since the last revision: Address review comments ------------- Changes: - all: https://git.openjdk.org/jfx/pull/2179/files - new: https://git.openjdk.org/jfx/pull/2179/files/7378d407..d5ad638b Webrevs: - full: https://webrevs.openjdk.org/?repo=jfx&pr=2179&range=01 - incr: https://webrevs.openjdk.org/?repo=jfx&pr=2179&range=00-01 Stats: 81 lines in 2 files changed: 43 ins; 35 del; 3 mod Patch: https://git.openjdk.org/jfx/pull/2179.diff Fetch: git fetch https://git.openjdk.org/jfx.git pull/2179/head:pull/2179 PR: https://git.openjdk.org/jfx/pull/2179
