RFR: 8241999: ChoiceBox: incorrect toggle selected for uncontained
fastegal at openjdk.java.net
Tue Apr 28 15:42:55 UTC 2020
The issue is that the toggles is not reliably unselected if an uncontained value is set.
The root is ChoiceBoxSelectionModel which doesn't update the index on selecting an uncontained item, in particular it
fails to keep the invariant:
The fix here is to override select(item) to guarantee the assert.
Added/removed ignore from tests that failed before and pass after the fix. All other tests are passing before and after.
- 8241999: ChoiceBox: incorrect toggle selected for uncontained
Stats: 55 lines in 2 files changed: 44 ins; 7 del; 4 mod
Fetch: git fetch https://git.openjdk.java.net/jfx pull/200/head:pull/200
More information about the openjfx-dev