You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There was already a reflection hack in place for logging the local
port in Jetty 8/9. It wasn't being used for the getPort() method
for some reason, so that needed to be fixed.
Fixesgh-635
Copy file name to clipboardExpand all lines: spring-boot/src/main/java/org/springframework/boot/context/embedded/jetty/JettyEmbeddedServletContainer.java
+6-5
Original file line number
Diff line number
Diff line change
@@ -103,15 +103,16 @@ public void start() throws EmbeddedServletContainerException {
103
103
}
104
104
}
105
105
106
-
privateStringgetLocalPort(Connectorconnector) {
106
+
privateIntegergetLocalPort(Connectorconnector) {
107
107
try {
108
108
// Jetty 9 internals are different, but the method name is the same
0 commit comments