Skip to content

Commit c069bcd

Browse files
committed
chore: Add class to be initialized at runtime
1 parent 7e9a4e1 commit c069bcd

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,6 @@ private static void loadGrpcNettyClasses(BeforeAnalysisAccess access) {
105105
access, "io.grpc.netty.shaded.io.grpc.netty.ProtocolNegotiators$GrpcNegotiationHandler");
106106
registerClassForReflection(
107107
access, "io.grpc.netty.shaded.io.netty.channel.ChannelHandlerMask");
108-
registerClassForReflection(
109-
access,
110-
"io.grpc.netty.shaded.io.netty.util.internal.shaded.org.jctools.queues.unpadded.MpscUnpaddedArrayQueue");
111108

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

gax-java/gax-grpc/src/main/resources/META-INF/native-image/com.google.api/gax-grpc/native-image.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,6 @@ Args=--add-opens=java.base/java.time=ALL-UNNAMED \
1010
io.grpc.netty.shaded.io.netty.channel.unix,\
1111
io.grpc.netty.shaded.io.netty.handler.ssl,\
1212
io.grpc.internal.RetriableStream,\
13-
io.grpc.netty.shaded.io.netty \
13+
io.grpc.netty.shaded.io.netty.util.internal.shaded.org.jctools.queues.unpadded.MpscUnpaddedArrayQueue, \
14+
io.grpc.netty.shaded.io.netty
1415
--features=com.google.api.gax.grpc.nativeimage.GrpcNettyFeature

0 commit comments

Comments
 (0)