Skip to content

Commit

Permalink
Fix native mode
Browse files Browse the repository at this point in the history
  • Loading branch information
brunobat committed Nov 6, 2023
1 parent 14e595c commit 041baff
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ void registerExternalExporter(BuildProducer<ExternalOtelExporterBuildItem> build
NativeImageConfigBuildItem nativeImageConfiguration() {
NativeImageConfigBuildItem.Builder builder = NativeImageConfigBuildItem.builder()
.addRuntimeReinitializedClass("com.google.protobuf.UnsafeUtil")
.addRuntimeInitializedClass("io.grpc.netty.shaded.io.grpc.netty.UdsNameResolverProvider")
// .addRuntimeReinitializedClass("io.grpc.netty.shaded.io.grpc.netty.UdsNameResolverProvider");
.addRuntimeInitializedClass("io.grpc.netty.shaded.io.grpc.netty.UdsNameResolverProvider");
// .addRuntimeReinitializedClass("io.grpc.netty.shaded.io.grpc.netty.UdsNameResolverProvider");
return builder.build();
}

Expand Down

0 comments on commit 041baff

Please sign in to comment.