From dfcc7c5c2ddcfcdea4ca240eae4b8f3626f19640 Mon Sep 17 00:00:00 2001 From: Johnny Lim Date: Mon, 11 Nov 2024 12:18:04 +0900 Subject: [PATCH] Fix WebServerPortFileWriter.getPortFile() without extension See gh-43115 --- .../boot/web/context/WebServerPortFileWriter.java | 4 +++- .../boot/web/context/WebServerPortFileWriterTests.java | 9 +++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/context/WebServerPortFileWriter.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/context/WebServerPortFileWriter.java index 0ec76343ebe..87edb86d743 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/context/WebServerPortFileWriter.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/context/WebServerPortFileWriter.java @@ -110,7 +110,9 @@ public class WebServerPortFileWriter implements ApplicationListener