Skip to content

Commit 1a9e615

Browse files
committed
fixed native image configuration
1 parent 1b68dc9 commit 1a9e615

File tree

1 file changed

+35
-1
lines changed

1 file changed

+35
-1
lines changed
Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,43 @@
11
Args=\
2+
-Dio.netty.noUnsafe=true \
3+
-Dio.netty.leakDetection.level=DISABLED \
24
-H:+AllowDeprecatedBuilderClassesOnImageClasspath \
35
-H:ResourceConfigurationResources=${.}/resource-config.json \
46
-H:ReflectionConfigurationResources=${.}/reflect-config.json \
57
-H:SerializationConfigurationResources=${.}/serialization-config.json \
68
--initialize-at-build-time=\
79
org.slf4j,\
810
org.junit.platform.engine.TestTag,\
9-
io.netty.handler.ssl.OpenSsl
11+
io.netty \
12+
--initialize-at-run-time=\
13+
io.netty.buffer.PooledByteBufAllocator,\
14+
io.netty.buffer.ByteBufAllocator,\
15+
io.netty.buffer.ByteBufUtil,\
16+
io.netty.buffer.AbstractReferenceCountedByteBuf,\
17+
io.netty.handler.ssl.JdkSslServerContext,\
18+
io.netty.handler.codec.compression.BrotliDecoder,\
19+
io.netty.handler.codec.compression.ZstdConstants,\
20+
io.netty.handler.codec.http2.Http2CodecUtil,\
21+
io.netty.handler.codec.http2.Http2ClientUpgradeCodec,\
22+
io.netty.handler.codec.http2.Http2ConnectionHandler,\
23+
io.netty.handler.codec.http2.DefaultHttp2FrameWriter,\
24+
io.netty.handler.codec.http.HttpObjectEncoder,\
25+
io.netty.handler.codec.http.websocketx.WebSocket00FrameEncoder,\
26+
io.netty.handler.codec.http.websocketx.extensions.compression.DeflateDecoder,\
27+
io.netty.util.AbstractReferenceCounted,\
28+
io.netty.util.concurrent.GlobalEventExecutor,\
29+
io.netty.util.concurrent.ImmediateEventExecutor,\
30+
io.netty.util.concurrent.ScheduledFutureTask,\
31+
io.netty.util.internal.ThreadLocalRandom,\
32+
io.netty.util.NetUtilSubstitutions$NetUtilLocalhost4LazyHolder,\
33+
io.netty.util.NetUtilSubstitutions$NetUtilLocalhost6LazyHolder,\
34+
io.netty.util.NetUtilSubstitutions$NetUtilLocalhostLazyHolder,\
35+
io.netty.util.NetUtilSubstitutions$NetUtilNetworkInterfacesLazyHolder,\
36+
io.netty.handler.ssl.util.ThreadLocalInsecureRandom,\
37+
io.netty.resolver.dns.DefaultDnsServerAddressStreamProvider,\
38+
io.netty.resolver.dns.DnsServerAddressStreamProviders$DefaultProviderHolder,\
39+
io.netty.resolver.dns.DnsNameResolver,\
40+
io.netty.resolver.HostsFileEntriesResolver,\
41+
io.netty.resolver.dns.ResolvConf$ResolvConfLazy,\
42+
io.netty.resolver.dns.DefaultDnsServerAddressStreamProvider,\
43+
io.vertx.core.buffer.impl.VertxByteBufAllocator

0 commit comments

Comments
 (0)