You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8a8d947
Browse filesBrowse the repository at this point in the historyBrowse files
fix(core): Clear contexts on Scope.clear() (#5902)
* fix(core): Clear contexts on Scope.clear() (JAVA-683)
Scope.clear() reset every field except contexts, so anything set via
setContexts survived a clear. Contexts had no clear() method, unlike the
tags, extra, and fingerprint collections, which is why it was skipped.
Add Contexts.clear(), override it in CombinedContextsView to delegate to
the default context, and clear contexts in Scope.clear() while notifying
scope observers so persisted scopes stay in sync.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
* changelog
---------
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments