Skip to content

Commit cf8d479

Browse files
committed
chore: Register MpscUnpaddedArrayQueue's constructors
1 parent 9dbadae commit cf8d479

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232

3333
import static com.google.api.gax.nativeimage.NativeImageUtils.registerClassForReflection;
3434
import static com.google.api.gax.nativeimage.NativeImageUtils.registerClassHierarchyForReflection;
35+
import static com.google.api.gax.nativeimage.NativeImageUtils.registerConstructorsForReflection;
3536
import static com.google.api.gax.nativeimage.NativeImageUtils.registerForReflectiveInstantiation;
3637
import static com.google.api.gax.nativeimage.NativeImageUtils.registerForUnsafeFieldAccess;
3738

@@ -105,6 +106,9 @@ private static void loadGrpcNettyClasses(BeforeAnalysisAccess access) {
105106
access, "io.grpc.netty.shaded.io.grpc.netty.ProtocolNegotiators$GrpcNegotiationHandler");
106107
registerClassForReflection(
107108
access, "io.grpc.netty.shaded.io.netty.channel.ChannelHandlerMask");
109+
registerConstructorsForReflection(
110+
access,
111+
"io.grpc.netty.shaded.io.netty.util.internal.shaded.org.jctools.queues.unpadded.MpscUnpaddedArrayQueue");
108112

109113
// Epoll Libraries
110114
registerClassForReflection(access, "io.grpc.netty.shaded.io.netty.channel.epoll.Epoll");

0 commit comments

Comments
 (0)