From 086eb5a3e09fc2356decba5a077146703faa0c01 Mon Sep 17 00:00:00 2001 From: Guillaume Smet Date: Wed, 29 Nov 2023 11:01:59 +0100 Subject: [PATCH] Revert "Runtime (re)initialize Netty's PlatformDependent classes" This reverts commit 76c02780328546fb5e60088e7a7447f35a0ef48a. --- .../main/java/io/quarkus/netty/deployment/NettyProcessor.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/extensions/netty/deployment/src/main/java/io/quarkus/netty/deployment/NettyProcessor.java b/extensions/netty/deployment/src/main/java/io/quarkus/netty/deployment/NettyProcessor.java index 5de637d124c8c..766d2f8c00800 100644 --- a/extensions/netty/deployment/src/main/java/io/quarkus/netty/deployment/NettyProcessor.java +++ b/extensions/netty/deployment/src/main/java/io/quarkus/netty/deployment/NettyProcessor.java @@ -162,9 +162,6 @@ NativeImageConfigBuildItem build( log.debug("Not registering Netty native kqueue classes as they were not found"); } - builder.addRuntimeReinitializedClass("io.netty.util.internal.PlatformDependent"); - builder.addRuntimeReinitializedClass("io.netty.util.internal.PlatformDependent0"); - return builder //TODO: make configurable .build(); }