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

Cleanup BehaviorBase by passing key bindings in the constructor

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P5
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: javafx
    • Labels:

      Description

      Cleanup / paying down technical debt. The BehaviorBase has a virtual method called from the BehaviorBase constructor, which is an anti-pattern because subclasses are called before they have been properly initialized. Instead we ought to pass the key bindings in the constructor.

        Attachments

          Activity

            People

            • Assignee:
              rbair Richard Bair
              Reporter:
              rbair Richard Bair
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: