Skip to content

Commit 2b76a12

Browse files
committed
Refine build time init configuration
For Spring MVC and RestTemplate. See spring-projectsgh-28518
1 parent 0992f85 commit 2b76a12

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
Args = --initialize-at-build-time=org.springframework.aot.AotDetector,\
2-
org.springframework.core.NativeDetector
2+
org.springframework.core.NativeDetector,\
3+
org.springframework.util.ConcurrentReferenceHashMap,\
4+
org.springframework.core.SpringProperties,\
5+
org.springframework.util.ClassUtils
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
Args = --initialize-at-build-time=org.springframework.http.HttpStatus
1+
Args = --initialize-at-build-time=org.springframework.http.HttpStatus,\
2+
org.springframework.web.client.RestTemplate
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Args = --initialize-at-build-time=org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport

0 commit comments

Comments
 (0)