Skip to content

Commit

Permalink
Initialize io.grpc.internal.RetriableStream at runtime
Browse files Browse the repository at this point in the history
It contains a Random field.

Fixes quarkusio#17234

(cherry picked from commit 2ece816)
  • Loading branch information
gsmet committed Jun 3, 2021
1 parent 7f90bfe commit 04fdd23
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ NativeImageConfigBuildItem nativeImageConfiguration() {
// if they were not marked as runtime initialized:
.addRuntimeInitializedClass("io.grpc.netty.Utils")
.addRuntimeInitializedClass("io.grpc.netty.NettyServerBuilder")
.addRuntimeInitializedClass("io.grpc.netty.NettyChannelBuilder");
.addRuntimeInitializedClass("io.grpc.netty.NettyChannelBuilder")
.addRuntimeInitializedClass("io.grpc.internal.RetriableStream");
return builder.build();
}

Expand Down

0 comments on commit 04fdd23

Please sign in to comment.