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

Deprecate for removal css Selector and ShapeConverter constructors

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: openjfx15
    • Fix Version/s: openjfx16
    • Component/s: javafx
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: