You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "neilcsmith-net (via GitHub)" <gi...@apache.org> on 2025/04/25 11:01:15 UTC

Re: [PR] Fix race condition in JavaScript TextInterceptorTests [netbeans]

neilcsmith-net commented on PR #8455:
URL: https://github.com/apache/netbeans/pull/8455#issuecomment-2830099037

   Curious!  Are you sure `sync()` is not just taking long enough to mask the race condition?  Is it guaranteed that events will have been fired by its return?
   
   That `OptionsUtils` class should probably protect the caching map for concurrent access?
   
   Maybe there should be method in `OptionsUtils` to flush its cache instead?  Or even set keys through it.  It's not API anyway as far as I can see.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists