On Fri, 14 Oct 2022 21:04:58 GMT, John Hendrikx <jhendr...@openjdk.org> wrote:
>> modules/javafx.base/src/test/java/test/javafx/beans/value/ObservableValueFluentBindingsTest.java >> line 1162: >> >>> 1160: } >>> 1161: } >>> 1162: } >> >> Is it possible to add the scenario that simulates configurations you so >> beautifully illustrated in the comments in this PR? For example, simulate >> the removal of the "Skin" (without involving a real Skin implementation, >> just re-create the classes and properties in the same configuration)? > > You mean something like calling `setSkin` on a `Button` in a loop with a new > skin that uses this form of listener management? And seeing if the old skin > instances don't stick around? > > I suppose I could make a copy of one of the smaller skins, tweak it to use > `when` and then testing this. Is that what you'd be looking for? never mind, please disregard. ------------- PR: https://git.openjdk.org/jfx/pull/830