Commit d995a91 1 parent ca96ab2 commit d995a91 Copy full SHA for d995a91
File tree 1 file changed +3
-0
lines changed
extensions/netty/deployment/src/main/java/io/quarkus/netty/deployment
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -109,6 +109,9 @@ NativeImageConfigBuildItem build(
109
109
.addRuntimeInitializedClass ("io.netty.buffer.ByteBufUtil" )
110
110
// The default channel id uses the process id, it should not be cached in the native image.
111
111
.addRuntimeInitializedClass ("io.netty.channel.DefaultChannelId" )
112
+ // Make sure to initialize platform dependent classes/values at runtime
113
+ .addRuntimeInitializedClass ("io.netty.util.internal.PlatformDependent" )
114
+ .addRuntimeInitializedClass ("io.netty.util.internal.PlatformDependent0" )
112
115
.addNativeImageSystemProperty ("io.netty.leakDetection.level" , "DISABLED" );
113
116
114
117
if (QuarkusClassLoader .isClassPresentAtRuntime ("io.netty.handler.codec.http.HttpObjectEncoder" )) {
You can’t perform that action at this time.
0 commit comments