Skip to content

Commit

Permalink
Minor tweak wrt #3838 to ease merging to 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Jun 13, 2023
1 parent 998ca54 commit 1acfdc1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ public Object deserializeFromObject(JsonParser p, DeserializationContext ctxt) t
}
}
// [databind#3838]: since 2.16 Uniform handling of missing objectId
if (_objectIdReader != null && p.getCurrentToken() == JsonToken.END_OBJECT) {
if (_objectIdReader != null && p.hasTokenId(JsonTokenId.ID_END_OBJECT)) {
ctxt.reportUnresolvedObjectId(_objectIdReader, bean);
}
if (_injectables != null) {
Expand Down

0 comments on commit 1acfdc1

Please sign in to comment.