File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
main/java/com/fasterxml/jackson/databind
test/java/com/fasterxml/jackson/databind/misc Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -1380,6 +1380,10 @@ protected JsonSerializer<Object> _createUntypedSerializer(JavaType type)
1380
1380
* since there's one instance per serialization).
1381
1381
* Perhaps not-yet-resolved instance might be exposed too early to callers.
1382
1382
*/
1383
+ // 13-Apr-2018, tatu: Problem does NOT occur any more with late 2.8.x and 2.9.x
1384
+ // versions, likely due to concurrency fixes for `AnnotatedClass` introspection.
1385
+ // This sync block could probably be removed; but to minimize any risk of
1386
+ // regression sync block will only be removed from 3.0.
1383
1387
synchronized (_serializerCache ) {
1384
1388
// 17-Feb-2013, tatu: Used to call deprecated method (that passed property)
1385
1389
return (JsonSerializer <Object >)_serializerFactory .createSerializer (this , type );
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ public HasSubTypes getHasSubTypes() {
56
56
*/
57
57
58
58
public void testRepeatedly () throws Exception {
59
- final int COUNT = 2000 ;
59
+ final int COUNT = 3000 ;
60
60
for (int i = 0 ; i < COUNT ; i ++) {
61
61
runOnce (i , COUNT );
62
62
}
You can’t perform that action at this time.
0 commit comments