RFR: 8354797: Parent.needsLayoutProperty() should return read-only getter

Michael Strauß mstrauss at openjdk.org
Wed Apr 16 09:05:25 UTC 2025


`Parent.needsLayout` is implemented with a `ReadOnlyBooleanWrapper`. The property getter returns the wrapper itself, but what it should be doing is return the read-only getter instead.

A single reviewer should be sufficient.

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

Commit messages:
 - fix
 - failing test

Changes: https://git.openjdk.org/jfx/pull/1780/files
  Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=1780&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8354797
  Stats: 10 lines in 2 files changed: 8 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jfx/pull/1780.diff
  Fetch: git fetch https://git.openjdk.org/jfx.git pull/1780/head:pull/1780

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


More information about the openjfx-dev mailing list