On Fri, 7 Mar 2025 18:42:36 GMT, Andy Goryachev <ango...@openjdk.org> wrote:

>> Adding a listener or a binding to the global/static properties outside of 
>> the JavaFX application thread will likely cause concurrent access issues 
>> when the caller, still being executing in the background thread, receives an 
>> event in the context of the JavaFX application thread.
>> 
>> This change enforces accessing Platform::accessibilityActive only from the 
>> JavaFX application thread.
>> 
>> Q: should we also enforce the access rules for Platform::getPreferences() 
>> for the same reason?
>
> Andy Goryachev has updated the pull request with a new target base due to a 
> merge or a rebase. The incremental webrev excludes the unrelated changes 
> brought in by the merge/rebase. The pull request contains four additional 
> commits since the last revision:
> 
>  - enforce
>  - Merge remote-tracking branch 'origin/master' into 8351067.accessibility
>  - review comments
>  - javadoc

@mstr2 : should we also enforce the access rules in 
`Platform::getPreferences()` ?

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

PR Comment: https://git.openjdk.org/jfx/pull/1728#issuecomment-2707167336

Reply via email to