RFR: 8301763: Adding children to wrong index leaves inconsistent state in Parent#childrenSet [v2]

Lukasz Kostyra lkostyra at openjdk.org
Mon May 22 14:01:06 UTC 2023


On Wed, 17 May 2023 23:15:28 GMT, John Hendrikx <jhendrikx at openjdk.org> wrote:

> A roll back mechanism would just complicate the code for very little benefit (a correct FX application won't run into these situations, you'll only be likely to encounter them during development). The whole mechanism surrounding the children list and bad additions should be seen as a best effort early warning system (like ConcurrentModificationExeption).

Understood, let's stick with current approach then.

-------------

PR Comment: https://git.openjdk.org/jfx/pull/1136#issuecomment-1557268177


More information about the openjfx-dev mailing list