Skip to content

Commit 52fe20e

Browse files
committed
Merge branch '2.10'
2 parents 26dc611 + b23eccb commit 52fe20e

File tree

3 files changed

+17
-7
lines changed

3 files changed

+17
-7
lines changed

release-notes/VERSION-2.x

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ Project: jackson-databind
44
=== Releases ===
55
------------------------------------------------------------------------
66

7+
2.10.0.pr2 (not yet released)
8+
9+
#2331: `JsonMappingException` through nested getter with generic wildcard return type
10+
(reported by sunchezz89@github)
11+
712
2.10.0.pr1 (19-Jul-2019)
813

914
#18: Make `JsonNode` serializable
@@ -40,7 +45,7 @@ Project: jackson-databind
4045
(reported by Pavel C)
4146
#2236: Type id not provided on `Double.NaN`, `Infinity` with `@JsonTypeInfo`
4247
(reported by C-B-B@github)
43-
#2241: Add `JsonPropertyNamingStrategy.LOWER_DOT_CASE` for dot-delimited names
48+
#2241: Add `PropertyNamingStrategy.LOWER_DOT_CASE` for dot-delimited names
4449
(contributed by [email protected])
4550
#2251: Getter that returns an abstract collection breaks a delegating `@JsonCreator`
4651
#2265: Inconsistent handling of Collections$UnmodifiableList vs Collections$UnmodifiableRandomAccessListq
@@ -51,7 +56,7 @@ Project: jackson-databind
5156
(suggested by Manuel H)
5257
#2338: Suboptimal return type for `JsonNode.withArray()`
5358
(reported by Victor N)
54-
2339: Suboptimal return type for `ObjectNode.set()`
59+
#2339: Suboptimal return type for `ObjectNode.set()`
5560
(reported by Victor N)
5661

5762
2.9.9.1 (03-Jul-2019)

src/main/java/com/fasterxml/jackson/databind/type/ResolvedRecursiveType.java

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,20 @@ public void setReference(JavaType ref)
2828

2929
@Override
3030
public JavaType getSuperClass() {
31-
if (_referencedType != null) {
32-
return _referencedType.getSuperClass();
33-
}
34-
return super.getSuperClass();
31+
if (_referencedType != null) {
32+
return _referencedType.getSuperClass();
33+
}
34+
return super.getSuperClass();
3535
}
3636

3737
public JavaType getSelfReferencedType() { return _referencedType; }
3838

39+
// 23-Jul-2019, tatu: [databind#2331] Need to also delegate this...
40+
@Override
41+
public TypeBindings getBindings() {
42+
return _referencedType.getBindings();
43+
}
44+
3945
@Override
4046
public StringBuilder getGenericSignature(StringBuilder sb) {
4147
return _referencedType.getGenericSignature(sb);

src/main/java/com/fasterxml/jackson/databind/type/TypeFactory.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,6 @@ public JavaType constructSpecializedType(JavaType baseType, Class<?> subclass)
359359
if (rawBase == subclass) {
360360
return baseType;
361361
}
362-
363362
JavaType newType;
364363

365364
// also: if we start from untyped, not much to save

0 commit comments

Comments
 (0)