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

Move convenience methods from *Expression classes to respective interfaces

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: tbd
    • Component/s: javafx
    • Subcomponent:

      Description

      With the advent of default methods in Java 8, the need for *Expression classes (DoubleExpression, BooleanExpression, ...) vanished, since all their methods can be implemented as default methods in the respective interfaces (ObservableDoubleValue, ObservableBooleanValue, ...).

      I realize that *Expression classes will have to be dragged along forever, but the implementation of their convenience methods could be moved up to the respective interfaces, so that alternative implementations of observable interfaces can inherit their default implementation of those methods.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            tmikula Tomas Mikula
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Imported: