mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Merge branch '5.2.x'
# Conflicts: # spring-beans/src/main/java/org/springframework/beans/CachedIntrospectionResults.java
This commit is contained in:
+2
-2
@@ -841,8 +841,8 @@ public class Jackson2ObjectMapperBuilder {
|
||||
// jackson-datatype-jsr310 not available
|
||||
}
|
||||
|
||||
// Joda-Time present?
|
||||
if (ClassUtils.isPresent("org.joda.time.LocalDate", this.moduleClassLoader)) {
|
||||
// Joda-Time 2.x present?
|
||||
if (ClassUtils.isPresent("org.joda.time.YearMonth", this.moduleClassLoader)) {
|
||||
try {
|
||||
Class<? extends Module> jodaModuleClass = (Class<? extends Module>)
|
||||
ClassUtils.forName("com.fasterxml.jackson.datatype.joda.JodaModule", this.moduleClassLoader);
|
||||
|
||||
Reference in New Issue
Block a user