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

Deprecate for removal css Selector and ShapeConverter constructors

XMLWordPrintable

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

      During the review of JDK-8251353 we discovered that two of the classes without explicit constructors were not meant to have publicly visible constructors.

      javafx.css.Selector
      javafx.css.converter.ShapeConverter

      We should remove them (by changing the constructors to package-scope or private) over the course of two releases as follows:

      1. Deprecate the constructors for removal in JavaFX 16

      2. Remove the public constructors, replacing them with package-scope (in the case of Selector) or private (in the case of ShapeConverter). Since ShapeConverter is not meant to be subclassed at all, even internally, we can consider making that class final at the same time.

      This will need a CSR.

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

              Created:
              Updated:
              Resolved: