Skip to content

Commit f15c14a

Browse files
authored
Adds reflection hints for native-image support 1.1.x (#1073)
1 parent af021d9 commit f15c14a

File tree

2 files changed

+146
-0
lines changed
  • rsocket-core/src/main/resources/META-INF/native-image/io.rsocket/rsocket-core
  • rsocket-transport-netty/src/main/resources/META-INF/native-image/io.rsocket/rsocket-transport-netty

2 files changed

+146
-0
lines changed
Lines changed: 130 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
1+
[
2+
{
3+
"condition": {
4+
"typeReachable": "io.rsocket.internal.jctools.queues.BaseLinkedQueueConsumerNodeRef"
5+
},
6+
"name": "io.rsocket.internal.jctools.queues.BaseLinkedQueueConsumerNodeRef",
7+
"fields": [
8+
{
9+
"name": "consumerNode"
10+
}
11+
]
12+
},
13+
{
14+
"condition": {
15+
"typeReachable": "io.rsocket.internal.jctools.queues.BaseLinkedQueueProducerNodeRef"
16+
},
17+
"name": "io.rsocket.internal.jctools.queues.BaseLinkedQueueProducerNodeRef",
18+
"fields": [
19+
{
20+
"name": "producerNode"
21+
}
22+
]
23+
},
24+
{
25+
"condition": {
26+
"typeReachable": "io.rsocket.internal.jctools.queues.BaseMpscLinkedArrayQueueColdProducerFields"
27+
},
28+
"name": "io.rsocket.internal.jctools.queues.BaseMpscLinkedArrayQueueColdProducerFields",
29+
"fields": [
30+
{
31+
"name": "producerLimit"
32+
}
33+
]
34+
},
35+
{
36+
"condition": {
37+
"typeReachable": "io.rsocket.internal.jctools.queues.BaseMpscLinkedArrayQueueConsumerFields"
38+
},
39+
"name": "io.rsocket.internal.jctools.queues.BaseMpscLinkedArrayQueueConsumerFields",
40+
"fields": [
41+
{
42+
"name": "consumerIndex"
43+
}
44+
]
45+
},
46+
{
47+
"condition": {
48+
"typeReachable": "io.rsocket.internal.jctools.queues.BaseMpscLinkedArrayQueueProducerFields"
49+
},
50+
"name": "io.rsocket.internal.jctools.queues.BaseMpscLinkedArrayQueueProducerFields",
51+
"fields": [
52+
{
53+
"name": "producerIndex"
54+
}
55+
]
56+
},
57+
{
58+
"condition": {
59+
"typeReachable": "io.rsocket.internal.jctools.queues.LinkedQueueNode"
60+
},
61+
"name": "io.rsocket.internal.jctools.queues.LinkedQueueNode",
62+
"fields": [
63+
{
64+
"name": "next"
65+
}
66+
]
67+
},
68+
{
69+
"condition": {
70+
"typeReachable": "io.rsocket.internal.jctools.queues.MpscArrayQueueConsumerIndexField"
71+
},
72+
"name": "io.rsocket.internal.jctools.queues.MpscArrayQueueConsumerIndexField",
73+
"fields": [
74+
{
75+
"name": "consumerIndex"
76+
}
77+
]
78+
},
79+
{
80+
"condition": {
81+
"typeReachable": "io.rsocket.internal.jctools.queues.MpscArrayQueueProducerIndexField"
82+
},
83+
"name": "io.rsocket.internal.jctools.queues.MpscArrayQueueProducerIndexField",
84+
"fields": [
85+
{
86+
"name": "producerIndex"
87+
}
88+
]
89+
},
90+
{
91+
"condition": {
92+
"typeReachable": "io.rsocket.internal.jctools.queues.MpscArrayQueueProducerLimitField"
93+
},
94+
"name": "io.rsocket.internal.jctools.queues.MpscArrayQueueProducerLimitField",
95+
"fields": [
96+
{
97+
"name": "producerLimit"
98+
}
99+
]
100+
},
101+
{
102+
"condition": {
103+
"typeReachable": "io.rsocket.internal.jctools.queues.UnsafeAccess"
104+
},
105+
"name": "sun.misc.Unsafe",
106+
"fields": [
107+
{
108+
"name": "theUnsafe"
109+
}
110+
],
111+
"queriedMethods": [
112+
{
113+
"name": "getAndAddLong",
114+
"parameterTypes": [
115+
"java.lang.Object",
116+
"long",
117+
"long"
118+
]
119+
},
120+
{
121+
"name": "getAndSetObject",
122+
"parameterTypes": [
123+
"java.lang.Object",
124+
"long",
125+
"java.lang.Object"
126+
]
127+
}
128+
]
129+
}
130+
]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
[
2+
{
3+
"condition": {
4+
"typeReachable": "io.rsocket.transport.netty.RSocketLengthCodec"
5+
},
6+
"name": "io.rsocket.transport.netty.RSocketLengthCodec",
7+
"queryAllPublicMethods": true
8+
},
9+
{
10+
"condition": {
11+
"typeReachable": "io.rsocket.transport.netty.server.BaseWebsocketServerTransport$PongHandler"
12+
},
13+
"name": "io.rsocket.transport.netty.server.BaseWebsocketServerTransport$PongHandler",
14+
"queryAllPublicMethods": true
15+
}
16+
]

0 commit comments

Comments
 (0)