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

☂ Many JavaFX classes have implicit no-arg constructors

    Details

    • Type: Task
    • Status: Resolved
    • Priority: P3
    • Resolution: Delivered
    • Affects Version/s: openjfx15
    • Fix Version/s: openjfx16
    • Component/s: javafx
    • Labels:

      Description

      Umbrella task to track the set of public classes in public packages with implicit (default) no-arg constructors. In a library such as JavaFX this is always an unintentional mistake.

      We should evaluate each of these and add an explicit constructor with a basic javadoc comment.

      If there are any that should not have been exposed as public constructors, as was the case with JDK-8229472 / JDK-8240688, then we will need to deprecate them for removal (I doubt this is the case).

      The actual bugs that we will file to add the default constructors will be tracked by separate linked blocking bugs.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kcr Kevin Rushforth
                Reporter:
                kcr Kevin Rushforth
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: