-
Notifications
You must be signed in to change notification settings - Fork 408
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In newer versions of java, specifically 16 and over, the `ThreadLocal` can be cleared before the Thread is killed. This breaks the assumption of `ThreadLocalHolder` which expected the `initializeThread` method to be executed only once per `Thread`. This commit changes the `threadValues` to become a map that holds which thread the value is associated with so we can avoid recreating new values when one already exists. Fixes #722
- Loading branch information
1 parent
81f8493
commit f248f22
Showing
2 changed files
with
191 additions
and
135 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.