Skip to content

Commit 9954a2f

Browse files
committed
chore: Register PlatformDependent class
1 parent 6f788c0 commit 9954a2f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ 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, "io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent");
108110

109111
// Epoll Libraries
110112
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: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,5 @@ 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.util.internal.PlatformDependent,\
1413
io.grpc.netty.shaded.io.netty
1514
--features=com.google.api.gax.grpc.nativeimage.GrpcNettyFeature

0 commit comments

Comments
 (0)