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

John Hendrikx jhendrikx at openjdk.org
Fri May 12 23:40:03 UTC 2023


> 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.

John Hendrikx has updated the pull request incrementally with three additional commits since the last revision:

 - Override hashCode with a comment explaining why
 - Fix style issues
 - Restore removed public method

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

Changes:
  - all: https://git.openjdk.org/jfx/pull/1070/files
  - new: https://git.openjdk.org/jfx/pull/1070/files/bcc9a941..270d0cbd

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jfx&pr=1070&range=06
 - incr: https://webrevs.openjdk.org/?repo=jfx&pr=1070&range=05-06

  Stats: 28 lines in 2 files changed: 23 ins; 1 del; 4 mod
  Patch: https://git.openjdk.org/jfx/pull/1070.diff
  Fetch: git fetch https://git.openjdk.org/jfx.git pull/1070/head:pull/1070

PR: https://git.openjdk.org/jfx/pull/1070


More information about the openjfx-dev mailing list