-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[QUESTION] Should we collect GraalVM Reachability Metadata for shaded packages? #377
Comments
At the moment the answer is yes, we need to collect shaded data. We are looking for a solution to avoid duplication but it is not complete yet. We will likely perform JSON transformation in the build tools before the project is built. Thank you for raising this concern! |
Args=--initialize-at-run-time=\
io.grpc.netty.shaded.io.netty.channel.ChannelHandlerMask,\
io.grpc.netty.shaded.io.netty.channel.nio.AbstractNioChannel,\
io.grpc.netty.shaded.io.netty.channel.socket.nio.SelectorProviderUtil,\
io.grpc.netty.shaded.io.netty.util.concurrent.DefaultPromise,\
io.grpc.netty.shaded.io.netty.util.internal.MacAddressUtil,\
io.grpc.netty.shaded.io.netty.util.internal.SystemPropertyUtil,\
io.grpc.netty.shaded.io.netty.util.NetUtilInitializations,\
io.grpc.netty.shaded.io.netty.channel.AbstractChannel,\
io.grpc.netty.shaded.io.netty.util.NetUtil,\
io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent,\
io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent0,\
io.grpc.netty.shaded.io.netty.channel.DefaultChannelPipeline,\
io.grpc.netty.shaded.io.netty.channel.DefaultChannelId,\
io.grpc.netty.shaded.io.netty.util.ResourceLeakDetector,\
io.grpc.netty.shaded.io.netty.channel.AbstractChannelHandlerContext,\
io.grpc.netty.shaded.io.netty.channel.ChannelOutboundBuffer,\
io.grpc.netty.shaded.io.netty.util.internal.InternalThreadLocalMap,\
io.grpc.netty.shaded.io.netty.util.internal.CleanerJava9,\
io.grpc.netty.shaded.io.netty.util.internal.StringUtil,\
io.grpc.netty.shaded.io.netty.util.internal.CleanerJava6,\
io.grpc.netty.shaded.io.netty.buffer.ByteBufUtil$HexUtil,\
io.grpc.netty.shaded.io.netty.buffer.AbstractByteBufAllocator,\
io.grpc.netty.shaded.io.netty.util.concurrent.FastThreadLocalThread,\
io.grpc.netty.shaded.io.netty.buffer.PoolArena,\
io.grpc.netty.shaded.io.netty.buffer.EmptyByteBuf,\
io.grpc.netty.shaded.io.netty.buffer.PoolThreadCache,\
io.grpc.netty.shaded.io.netty.util.AttributeKey
|
Describe the problem
A clear and concise description of what the problem is.
io.grpc:grpc-netty-shaded
.io.grpc:grpc-netty-shaded
. I hope to have a clear response that will allow me to decide whether or not to submit a PR in question.Additional context
Add any other context about the problem here.
Refer to Native image generation fails when adding a dependency with io.micronaut.gcp:micronaut-gcp-tracing micronaut-projects/micronaut-gcp#532 .
Refer to Disable the implementation of Etcd during the build of ShardingSphere Proxy Native apache/shardingsphere#28194.
Update in 2024.01.17: I completed nativeTest verification of
io.grpc:grpc-netty:1.50.2
at Add GraalVM Reachability Metadata and corresponding nativeTest for Etcd integration apache/shardingsphere#29755. Fixing nativeTest on the ShardingSphere side actually only requires the GraalVM Reachability Metadata ofio.netty:netty-transport-classes-epoll:4.1.99.Final
. I've opened Add support forio.netty:netty-transport-classes-epoll:4.1.99.Final
#437 for this. Resolved current issue on the ShardingSphere side by avoiding the use ofio.grpc:grpc-netty-shaded
. Refer to Improve jetcd and grpc dependency apache/shardingsphere#28780 .System Info (please complete the following information):
Windows
]Ubuntu 22.04.3 LTS
22.0 CE
]17.0.8
17
]17
native-gradle-plugin:0.9.10
]native-gradle-plugin:0.9.24
To Reproduce
If possible please attach a complete reproducer here (either as a zip file or as a link to public repository/branch).
The text was updated successfully, but these errors were encountered: