From f03c37d9559392978d5c66d4461227f7f0eca7fa Mon Sep 17 00:00:00 2001 From: Julien Viet Date: Thu, 27 Jun 2024 12:34:48 +0200 Subject: [PATCH] Update to latest JPMS changes --- vertx-grpc/src/main/java/io/vertx/grpc/VertxChannelBuilder.java | 2 +- vertx-grpc/src/main/java/io/vertx/grpc/VertxServer.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/vertx-grpc/src/main/java/io/vertx/grpc/VertxChannelBuilder.java b/vertx-grpc/src/main/java/io/vertx/grpc/VertxChannelBuilder.java index a01b85f..72ae0ea 100644 --- a/vertx-grpc/src/main/java/io/vertx/grpc/VertxChannelBuilder.java +++ b/vertx-grpc/src/main/java/io/vertx/grpc/VertxChannelBuilder.java @@ -287,7 +287,7 @@ public ManagedChannel build() { SslContextProvider provider; try { // options, Collections.singletonList(HttpVersion.HTTP_2.alpnName()) - SslContextManager helper = new SslContextManager(NetServerImpl.resolveEngineOptions(options.getSslEngineOptions(), true)); + SslContextManager helper = new SslContextManager(SslContextManager.resolveEngineOptions(options.getSslEngineOptions(), true)); provider = helper .resolveSslContextProvider(options.getSslOptions(), "", null, Collections.singletonList(HttpVersion.HTTP_2.alpnName()), other) .toCompletionStage() diff --git a/vertx-grpc/src/main/java/io/vertx/grpc/VertxServer.java b/vertx-grpc/src/main/java/io/vertx/grpc/VertxServer.java index a6b773b..19e4573 100644 --- a/vertx-grpc/src/main/java/io/vertx/grpc/VertxServer.java +++ b/vertx-grpc/src/main/java/io/vertx/grpc/VertxServer.java @@ -76,7 +76,7 @@ private ActualServer(VertxInternal vertx, ContextInternal other = vertx.createWorkerContext(); SslContextProvider provider; try { - SslContextManager helper = new SslContextManager(NetServerImpl.resolveEngineOptions(options.getSslEngineOptions(), true)); + SslContextManager helper = new SslContextManager(SslContextManager.resolveEngineOptions(options.getSslEngineOptions(), true)); provider = helper .resolveSslContextProvider(options.getSslOptions(), "", options.getClientAuth(), Collections.singletonList(HttpVersion.HTTP_2.alpnName()), other) .toCompletionStage()