From 8f832b659b3680248faa3d52f807a2d3d8e13aea Mon Sep 17 00:00:00 2001 From: wantaek Date: Fri, 24 Jul 2026 10:33:47 +0900 Subject: [PATCH] Fix declared type of spring.test.mockmvc.htmlunit.url The manual metadata entry declares java.lang.Boolean while its description and default value ("http://localhost") describe a URL string, and MockMvcWebClientAutoConfiguration and MockMvcWebDriverAutoConfiguration read the property as a string. See gh-51110 Signed-off-by: wantaek --- .../META-INF/additional-spring-configuration-metadata.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/spring-boot-webmvc-test/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/module/spring-boot-webmvc-test/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 289311556f3..34af0850631 100644 --- a/module/spring-boot-webmvc-test/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/module/spring-boot-webmvc-test/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -2,7 +2,7 @@ "properties": [ { "name": "spring.test.mockmvc.htmlunit.url", - "type": "java.lang.Boolean", + "type": "java.lang.String", "description": "URL to use when HtmlUnit expands relative paths.", "defaultValue": "http://localhost" },