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

A controller with private fields gets broken when it's subclass is used as a fxml controller

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8u20
    • Component/s: javafx
    • Labels:
      None
    • Subcomponent:

      Description

      Attached sample shows a Controller that returns a button on getButton() call, but a null is returned on the same call when SubController is used.

        Attachments

        1. app.fxml
          0.6 kB
        2. App.java
          2 kB

          Issue Links

            Activity

              People

              Assignee:
              msladecek Martin Sládeček
              Reporter:
              msladecek Martin Sládeček
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: