Skip to content

Commit 0df9053

Browse files
committed
Fix ref to issue #3008 (NOT #3005)
1 parent d5f91ec commit 0df9053

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

release-notes/VERSION-2.x

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Project: jackson-databind
66

77
2.12.2 (not yet released)
88

9-
#3005: String property deserializes null as "null" for
9+
#3008: String property deserializes null as "null" for
1010
`JsonTypeInfo.As.EXTERNAL_PROPERTY`
1111
#3022: Property ignorals cause `BeanDeserializer `to forget how to read
1212
from arrays (not copying `_arrayDelegateDeserializer`)

src/main/java/com/fasterxml/jackson/databind/deser/impl/ExternalTypeHandler.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ public boolean handlePropertyValue(JsonParser p, DeserializationContext ctxt,
172172
ExtTypedProperty prop = _properties[index];
173173
boolean canDeserialize;
174174
if (prop.hasTypePropertyName(propName)) {
175-
// 19-Feb-2021, tatu: as per [databind#3005], don't use "getText()"
175+
// 19-Feb-2021, tatu: as per [databind#3008], don't use "getText()"
176176
// since that'll coerce null value into String "null"...
177177
_typeIds[index] = p.getValueAsString();
178178
p.skipChildren();

0 commit comments

Comments
 (0)