Skip to content

Commit

Permalink
Runtime (re)initialize Netty's PlatformDependent classes
Browse files Browse the repository at this point in the history
Closes quarkusio#17839

(cherry picked from commit 76c0278)
  • Loading branch information
zakkak authored and gsmet committed Nov 30, 2023
1 parent 45f1a67 commit 80321f6
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 80321f6

Please sign in to comment.