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

Many javafx scenegraph classes have implicit no-arg constructors

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • jfx16
    • jfx15
    • javafx

      The following scenegraph classes in the javafx.graphics and javafx.controls modules have implicit no-arg constructors, which are added by javac, and show up in the API docs without any documentation associated with it:

      javafx.application.Preloader
      javafx.concurrent.ScheduledService
      javafx.css.PseudoClass
      javafx.css.Selector
      javafx.css.StyleConverter
      javafx.css.StyleConverter.StringStore
      javafx.css.converter.ShapeConverter
      javafx.scene.control.TableFocusModel
      javafx.scene.control.TableSelectionModel
      javafx.scene.input.ClipboardContent
      javafx.scene.shape.PathElement
      javafx.scene.transform.Transform
      javafx.stage.DirectoryChooser
      javafx.stage.FileChooser
      javafx.stage.Popup

      The fix is to add an explicit constructor with minimal documentation.

      This is part of a larger effort to eliminate such classes. See JDK-8250558.

            bchoudhary Bhawesh Choudhary (Inactive)
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: