From eb8e2624a23b8c8fd3665ae6c5064ad9eef743b3 Mon Sep 17 00:00:00 2001 From: Clement Escoffier Date: Fri, 15 Mar 2024 12:47:58 +0100 Subject: [PATCH] Update to Vert.x 4.5.5 This commit includes the following changes: - Update the Vert.x version to 4.5.5 (see https://github.com/vert-x3/wiki/wiki/4.5.5-Release-Notes for details) - Resolve issues with the context local access safety guard as the Vert.x API changed - Align Mutiny bindings which use the same Vert.x version --- bom/application/pom.xml | 4 ++-- .../quarkus/vertx/core/deployment/VertxCoreProcessor.java | 6 +++--- independent-projects/resteasy-reactive/pom.xml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bom/application/pom.xml b/bom/application/pom.xml index 6bed81e8922c0..4f1a36ee0daa7 100644 --- a/bom/application/pom.xml +++ b/bom/application/pom.xml @@ -61,7 +61,7 @@ 2.1.0 1.0.13 3.0.1 - 3.10.0 + 3.11.0 4.18.0 2.6.0 2.1.3 @@ -122,7 +122,7 @@ 1.0.1.Final 2.3.1.Final 3.5.1.Final - 4.5.4 + 4.5.5 4.5.14 4.4.16 4.1.5 diff --git a/extensions/vertx/deployment/src/main/java/io/quarkus/vertx/core/deployment/VertxCoreProcessor.java b/extensions/vertx/deployment/src/main/java/io/quarkus/vertx/core/deployment/VertxCoreProcessor.java index f7f7cd59912df..474b2efb25934 100644 --- a/extensions/vertx/deployment/src/main/java/io/quarkus/vertx/core/deployment/VertxCoreProcessor.java +++ b/extensions/vertx/deployment/src/main/java/io/quarkus/vertx/core/deployment/VertxCoreProcessor.java @@ -138,7 +138,7 @@ public void visitCode() { }; } - if (name.equals("getLocal")) { + if (name.equals("getLocal") && descriptor.equals("(Ljava/lang/Object;)Ljava/lang/Object;")) { return new MethodVisitor(Gizmo.ASM_API_VERSION, visitor) { @Override public void visitCode() { @@ -154,7 +154,7 @@ public void visitCode() { }; } - if (name.equals("putLocal")) { + if (name.equals("putLocal") && descriptor.equals("(Ljava/lang/Object;Ljava/lang/Object;)V")) { return new MethodVisitor(Gizmo.ASM_API_VERSION, visitor) { @Override public void visitCode() { @@ -171,7 +171,7 @@ public void visitCode() { }; } - if (name.equals("removeLocal")) { + if (name.equals("removeLocal") && descriptor.equals("(Ljava/lang/Object;)Z")) { return new MethodVisitor(Gizmo.ASM_API_VERSION, visitor) { @Override public void visitCode() { diff --git a/independent-projects/resteasy-reactive/pom.xml b/independent-projects/resteasy-reactive/pom.xml index e68a26e33547f..580e6758dadd0 100644 --- a/independent-projects/resteasy-reactive/pom.xml +++ b/independent-projects/resteasy-reactive/pom.xml @@ -61,7 +61,7 @@ 3.2.5 2.5.8 2.3.0 - 4.5.4 + 4.5.5 5.4.0 1.0.0.Final 2.17.0