On Tue, 28 Jul 2026 21:36:12 GMT, Michael Strauß <[email protected]> wrote:

>> But only for the `SimpleXXXProperty` classes right now. Not cached for other 
>> classes like e.g. `StyleableBooleanProperty`.
>> 
>> Am I understanding you right that another PR will override this method in 
>> JavaFX nodes?
>
> Yes, a separate PR will override `getDeclaringClass()` for every property 
> implementation in JavaFX.
> 
> Aside from that, we might want to add a constructor overload that accepts the 
> declaring class to the SimpleStyleable* property classes as well.

Okay that makes sense then, thanks.

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

PR Review Comment: https://git.openjdk.org/jfx/pull/2015#discussion_r3669382804

Reply via email to