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

Bindings.select methods log superfluous warnings

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 8
    • javafx
    • None

      The Bindings.select*(root, steps) family of methods fire superfluous warnings if any of the properties determined by the "steps" parameters have null values. This use case is supported according to the API:

      "The value of the binding will be c, or null if c could not be reached (due to b not having a c property, b being null, or c not being the right type etc.)."

      The logging becomes particularly problematic if the binding is evaluated many times: for example while sorting a large TableView by a TableColumn whose cellValueFactory returns such a Binding. See OTN discussion https://community.oracle.com/thread/2622745

      See also RT-35527

            msladecek Martin Sládeček
            jdenvirjfx James Denvir (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: