forked from FasterXML/jackson-modules-base
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Synchronize the lookup-and-define-class logic in blackbird
If blackbird attempts to access/define a new class concurrently, it can hit a race condition between attempting to access it and defining it when that fails. If it does fail, enter a synchronized block and try again before defining the access class. Should fix FasterXML#169
- Loading branch information
1 parent
4b5be14
commit 8a2e02b
Showing
1 changed file
with
23 additions
and
18 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