mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Add missing condition in JacksonModulesRuntimeHints
Closes gh-29001
This commit is contained in:
+2
-1
@@ -41,6 +41,7 @@ class JacksonModulesRuntimeHints implements RuntimeHintsRegistrar {
|
||||
|
||||
private void registerType(ReflectionHints reflectionHints, String className) {
|
||||
reflectionHints.registerType(TypeReference.of(className),
|
||||
builder -> builder.withMembers(MemberCategory.INVOKE_DECLARED_CONSTRUCTORS));
|
||||
builder -> builder.onReachableType(TypeReference.of(Jackson2ObjectMapperBuilder.class))
|
||||
.withMembers(MemberCategory.INVOKE_DECLARED_CONSTRUCTORS));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user