@@ -42,7 +42,7 @@ public final class DeserializerCache
42
42
/**
43
43
* We will also cache some dynamically constructed deserializers;
44
44
* specifically, ones that are expensive to construct.
45
- * This currently means bean , Enum and container deserializers.
45
+ * This currently means POJO , Enum and Container deserializers.
46
46
*/
47
47
protected final LookupCache <JavaType , JsonDeserializer <Object >> _cachedDeserializers ;
48
48
@@ -56,6 +56,9 @@ public final class DeserializerCache
56
56
57
57
/**
58
58
* We hold an explicit lock while creating deserializers to avoid creating duplicates.
59
+ * Guards {@link #_incompleteDeserializers}.
60
+ *
61
+ * @since 2.17
59
62
*/
60
63
private final ReentrantLock _incompleteDeserializersLock = new ReentrantLock ();
61
64
@@ -170,10 +173,9 @@ public JsonDeserializer<Object> findValueDeserializer(DeserializationContext ctx
170
173
// If not, need to request factory to construct (or recycle)
171
174
deser = _createAndCacheValueDeserializer (ctxt , factory , propertyType );
172
175
if (deser == null ) {
173
- /* Should we let caller handle it? Let's have a helper method
174
- * decide it; can throw an exception, or return a valid
175
- * deserializer
176
- */
176
+ // Should we let caller handle it? Let's have a helper method
177
+ // decide it; can throw an exception, or return a valid
178
+ // deserializer
177
179
deser = _handleUnknownValueDeserializer (ctxt , propertyType );
178
180
}
179
181
}
0 commit comments