RFR: JDK-8304959: Public API in javafx.css.Match should not return private API class PseudoClassState

Kevin Rushforth kcr at openjdk.org
Thu Mar 30 22:28:30 UTC 2023


On Mon, 27 Mar 2023 15:07:52 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:

>> The class `PseudoClassState` is private API, but was exposed erroneously in the CSS API. Instead, `Set<PseudoClass>` should have been used. This PR corrects this.
>
> This was clearly a mistake back when the public API was first created in JDK 9.

> @kevinrushforth I've created the CSR for this. Can I move it to proposed?

I took a quick look, and it is fine to move to Proposed.

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

PR Comment: https://git.openjdk.org/jfx/pull/1070#issuecomment-1491046397


More information about the openjfx-dev mailing list