This is an automated email from the ASF dual-hosted git repository.

liubao pushed a commit to branch 2.8.x
in repository https://gitbox.apache.org/repos/asf/servicecomb-java-chassis.git


The following commit(s) were added to refs/heads/2.8.x by this push:
     new efb2c1b18 [#4717]Bump vertx from 4.5.10 to 4.5.13 (#4721)
efb2c1b18 is described below

commit efb2c1b18ec1cbf7bb0bb01a6f96299363b240bc
Author: liubao68 <[email protected]>
AuthorDate: Tue Feb 18 20:26:51 2025 +0800

    [#4717]Bump vertx from 4.5.10 to 4.5.13 (#4721)
---
 .../src/main/java/io/vertx/core/impl/SyncContext.java                | 5 +++++
 .../test/java/io/vertx/ext/web/impl/TestHttpServerRequestUtils.java  | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git 
a/foundations/foundation-test-scaffolding/src/main/java/io/vertx/core/impl/SyncContext.java
 
b/foundations/foundation-test-scaffolding/src/main/java/io/vertx/core/impl/SyncContext.java
index 9a6f0ce38..5295ab158 100644
--- 
a/foundations/foundation-test-scaffolding/src/main/java/io/vertx/core/impl/SyncContext.java
+++ 
b/foundations/foundation-test-scaffolding/src/main/java/io/vertx/core/impl/SyncContext.java
@@ -86,6 +86,11 @@ public class SyncContext extends ContextBase implements 
ContextInternal {
 
   }
 
+  @Override
+  public Future<Void> close() {
+    return Future.succeededFuture();
+  }
+
   @Override
   public void reportException(Throwable throwable) {
 
diff --git 
a/foundations/foundation-vertx/src/test/java/io/vertx/ext/web/impl/TestHttpServerRequestUtils.java
 
b/foundations/foundation-vertx/src/test/java/io/vertx/ext/web/impl/TestHttpServerRequestUtils.java
index edf51783c..7297a866b 100644
--- 
a/foundations/foundation-vertx/src/test/java/io/vertx/ext/web/impl/TestHttpServerRequestUtils.java
+++ 
b/foundations/foundation-vertx/src/test/java/io/vertx/ext/web/impl/TestHttpServerRequestUtils.java
@@ -34,7 +34,7 @@ public class TestHttpServerRequestUtils {
   public void testVertxServerRequestToHttpServletRequest() {
     RoutingContext context = Mockito.mock(RoutingContext.class);
     HttpServerRequestInternal request = 
Mockito.mock(HttpServerRequestInternal.class);
-    HttpServerRequestWrapper wrapper = new HttpServerRequestWrapper(request, 
AllowForwardHeaders.NONE);
+    HttpServerRequestWrapper wrapper = new HttpServerRequestWrapper(request, 
AllowForwardHeaders.NONE, null);
     Mockito.when(request.scheme()).thenReturn("http");
     Mockito.when(context.request()).thenReturn(wrapper);
     
Mockito.when(request.authority()).thenReturn(HostAndPort.create("localhost", 
8080));

Reply via email to