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

☂ Many JavaFX classes have implicit no-arg constructors

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Delivered
    • Icon: P3 P3
    • jfx16
    • jfx15
    • javafx

      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.

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

              Created:
              Updated:
              Resolved: