Skip to content

Commit

Permalink
Runtime (re)initialize Netty's PlatformDependent classes
Browse files Browse the repository at this point in the history
  • Loading branch information
zakkak committed Nov 28, 2023
1 parent 670b43c commit 76c0278
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,9 @@ 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();
}
Expand Down

0 comments on commit 76c0278

Please sign in to comment.