-
CSR
-
Resolution: Approved
-
P3
-
None
-
source
-
minimal
-
Java API
-
JDK
Summary
Deprecate the public constructor of javafx.css.Selector and javafx.css.converter.ShapeConverter
Problem
- Constructor for class javafx.css.Selector should not be public as it is only extended by classes in same package.
- Constructor for class javafx.css.converter.ShapeConverter should not be public as its a singleton class.
Solution
Deprecate the constructor of both class javafx.css.Selector and javafx.css.converter.ShapeConverter for removal.
Specification
/**
* @deprecated This constructor was exposed erroneously and will be removed in the next version. Use {@link #createSelector(String)} instead.
*/
@Deprecated(since="16", forRemoval=true)
public Selector() {
}
/**
* @deprecated This constructor was exposed erroneously and will be removed in the next version. Use {@link #getInstance()} instead.
*/
@Deprecated(since="16", forRemoval=true)
public ShapeConverter() {
}
- csr of
-
JDK-8252387 Deprecate for removal css Selector and ShapeConverter constructors
- Resolved