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

Reduced log levels for currently mismatching bindings

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 8u25
    • javafx
    • None
    • JDK 8u25, Win 7 Pro SP 1, 64 Bit

      Rather often we noticed that useful and concise binding helpers like "Bindings.valueAt" and "Bindings.select" do work as expected according to the JavaDocs, but log WARNINGs in some cases -- which *users* will see in their logs. While this is nice for *programmers* it becomes a problem once thousands of users are calling the helpdesk because of "strange WARNINGs" in their local logs (and no, in realitly you really cannot enforce thousands of external people to explicitly exclude javafx packages from logging just to get rid of the problem).

      As SEVERE, WARNING and INFO are typically intended for end *users* (like Administrators), all information useful solely for the *programme* should go with FINE, FINER, FINEST to reduce irritation.

      As it is rather correct programming to do "Bindings.valueAt" on a List having possibly no entries at runtime, just as it is rather correct programming to do "Bindings.select" on a root having a value of null at runtime, these cases should not produce a WARNING but solely a FINE log entry.

      We would be glad if a future release of JavaFX would respect the typical distinction into programmer levels and user levels descibed above, so our helpdesk could cool down a bit...

            Unassigned Unassigned
            mkarg Markus Karg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Imported: