RFR: JDK-8324182 Deprecate for removal SimpleSelector and CompoundSelector classes [v2]

Jose Pereda jpereda at openjdk.org
Fri Jan 19 17:56:36 UTC 2024


On Fri, 19 Jan 2024 16:00:49 GMT, John Hendrikx <jhendrikx at openjdk.org> wrote:

>> The SimpleSelector and CompoundSelector classes are public classes in an exported package, javafx.css, but they are not intended to be used by applications. They are implementation details. They cannot be constructed directly and no other JavaFX API accepts or returns a SimpleSelector or CompoundSelector.
>> 
>> We should deprecate them for removal so we can move them to a non-exported package, removing them from the public API.
>
> John Hendrikx has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Add since parameter to deprecation annotation

Scene Builder releases are always tight to the JavaFX version (i.e, SB 21 uses JavaFX 21), so once JavaFX 23 is out with this change (or if we start testing 23-ea before the release of SB 23), we'll just have to modify the `CSSInternal` class as needed.

-------------

PR Comment: https://git.openjdk.org/jfx/pull/1340#issuecomment-1900843857


More information about the openjfx-dev mailing list