JDK-8252387 : Deprecate for removal css Selector and ShapeConverter constructors
  • Type: Bug
  • Component: javafx
  • Sub-Component: scenegraph
  • Affected Version: openjfx15
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-08-26
  • Updated: 2020-09-03
  • Resolved: 2020-09-03
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
openjfx16Fixed
Related Reports
Blocks :  
Blocks :  
CSR :  
Relates :  
Relates :  
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.
Comments
Changeset: a5ecfb68 Author: Bhawesh Choudhary <bchoudhary@openjdk.org> Committer: Nir Lisker <nlisker@openjdk.org> Date: 2020-09-03 10:02:08 +0000 URL: https://git.openjdk.java.net/jfx/commit/a5ecfb68
03-09-2020