You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2019/09/19 17:02:51 UTC
[GitHub] [netbeans] matthiasblaesing opened a new pull request #1520:
[NETBEANS-2940] Invalidate cacheed ArchiveRootProviders on change
matthiasblaesing opened a new pull request #1520: [NETBEANS-2940] Invalidate cacheed ArchiveRootProviders on change
URL: https://github.com/apache/netbeans/pull/1520
This is a followup to commit:
290420cfff1a "[NETBEANS-2940] Cache ArchiveRootProviders"
The issue is:
archiveRootProviders.compareAndSet(null, res)
returns true, when the set was successful. In this case, the
LookupListener needs to registered, that invalidates the cache list of
ArchiveRootProviders. In the original commit, this logic was inverted,
so the LookupListener was not installed and the cache never invalidated.
In addition the archiveRootProviderCache was made volatile to prevent
wrong caching across threads.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
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