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 authored and holly-cummins committed Feb 8, 2024
1 parent 1961d39 commit 1a11d28
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 1a11d28

Please sign in to comment.