JDK-8091393: Observable collections for ObservableMap views
Nir Lisker
nlisker at gmail.com
Mon May 30 01:22:10 UTC 2022
Hi,
Picking up an old issue, JDK-8091393 [1], I went ahead and looked at the
work needed to implement it.
keySet() and entrySet() can both be made to return ObservableSet rather
easily. values() will probably require an ObservableCollection<E> type.
Before discussing these details, my question is: is it backwards compatible
to require that these methods now return a more refined type? I think that
it will break implementations of ObservableMap out in the wild if it
overrides these methods in Map. What is the assessment here?
https://bugs.openjdk.java.net/browse/JDK-8091393
More information about the openjfx-dev
mailing list