On Mon, 1 Jun 2026 01:43:45 GMT, Christopher Schnick <[email protected]> wrote:
> 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). This pull request has now been integrated. Changeset: 4357ce38 Author: Christopher Schnick <[email protected]> Committer: Andy Goryachev <[email protected]> URL: https://git.openjdk.org/jfx/commit/4357ce3849b0982993a424d55e26864c6ea7fff5 Stats: 140 lines in 2 files changed: 127 ins; 0 del; 13 mod 8385666: Fix for JDK-8384806 broke combo box cell graphics Reviewed-by: angorya, mhanl ------------- PR: https://git.openjdk.org/jfx/pull/2179
