Skip to content

Commit f0244d7

Browse files
committed
Fixed #3661
1 parent 971796f commit f0244d7

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

release-notes/VERSION-2.x

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@ Project: jackson-databind
44
=== Releases ===
55
------------------------------------------------------------------------
66

7-
(not yet released)
7+
2.13.5 (not yet released)
88

99
#3659: Improve testing (likely via CI) to try to ensure compatibility with
1010
specific Android SDKs
11+
#3661: Jackson 2.13 uses Class.getTypeName() that is only available on Android SDK 26
12+
(with fix works on ASDK 24)
1113

1214
2.13.4.2 (13-Oct-2022)
1315

src/main/java/com/fasterxml/jackson/databind/util/ClassUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1411,7 +1411,7 @@ private static Field locateField(Class<?> fromClass, String expectedName, Class<
14111411
}
14121412
// If not found, indicate with exception
14131413
throw new IllegalStateException(String.format(
1414-
"No field named '%s' in class '%s'", expectedName, fromClass.getTypeName()));
1414+
"No field named '%s' in class '%s'", expectedName, fromClass.getName()));
14151415
}
14161416
}
14171417

0 commit comments

Comments
 (0)