Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8143595

Make Observable(Set/List/Map)Wrapper public API

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 8u66
    • javafx
    • x86
    • other

      A DESCRIPTION OF THE REQUEST :
      Up to now, the observable collection wrappers provided by com.sun.javafx.collections are the only observable collection implementations that can be used by clients right out of the box, as the javafx.collectons package (i.e. the public API) only provides abstract base classes. It would be nice to have the observable collection wrappers as part of the public API.

      JUSTIFICATION :
      Jigsaw (early access) reports the observable collection wrappers as JDK internal API, so that with Java9 clients will not have a means to access them any more.

      -> com.sun.javafx.collections.ObservableMapWrapper JDK internal API (javafx.base)

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Move ObservableSetWrapper, ObservableListWrapper, and ObservableMapWrapper to javafx.collections (or a subpackage).

            vadim Vadim Pakhnushev
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: