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

Builder is not generated for TextInputControl with latest API change

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: fx2.0
    • Fix Version/s: fx2.0
    • Component/s: javafx

      Description

      The latest API change to TextInputControl (not yet integrated at the time of writing) changes the constructor from public TextInputControl() to protected TextInputControl(Content). This causes the current builder generation to fail for this class, because it determines that it does not know how to call that constructor. But TextInputControl is an abstract class, so its builder does not in fact call any constructor. The consequence is that the generated builders for the subclasses TextField and TextArea become nearly useless, since they no longer inherit from Node and Control.

      I am proposing to fix this bug now because the fix is straightforward. The only alternative is to undo the change to TextInputControl, or at least restore its public no-arg constructor in addition to the new one.

        Attachments

          Activity

            People

            • Assignee:
              emcmanuswse Eamonn McManus (Inactive)
              Reporter:
              emcmanuswse Eamonn McManus (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: