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

Support hard-referenced bidirectional bindings

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • None
    • javafx
    • None

      Standard bindings keep a hard-ref to the bound observable, which allow you to do some property views like:

      objProperty.bind(intProperty.asObject());

      The asObject() would would not be GC'ed as the property references the view.

      With bidirectional bindings, the view will be lost however, as bidirectional bindings are weak.
      We should introduce a variant of bidirectional bindings that would use hard references and the developer would be responsible for freeing the resources.

            Unassigned Unassigned
            msladecek Martin Sládeček
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Imported: