Skip to content

Commit

Permalink
Adds reflection hints for native-image support 1.1.x (#1073)
Browse files Browse the repository at this point in the history
  • Loading branch information
violetagg committed Sep 13, 2022
1 parent af021d9 commit f15c14a
Show file tree
Hide file tree
Showing 2 changed files with 146 additions and 0 deletions.
@@ -0,0 +1,130 @@
[
{
"condition": {
"typeReachable": "io.rsocket.internal.jctools.queues.BaseLinkedQueueConsumerNodeRef"
},
"name": "io.rsocket.internal.jctools.queues.BaseLinkedQueueConsumerNodeRef",
"fields": [
{
"name": "consumerNode"
}
]
},
{
"condition": {
"typeReachable": "io.rsocket.internal.jctools.queues.BaseLinkedQueueProducerNodeRef"
},
"name": "io.rsocket.internal.jctools.queues.BaseLinkedQueueProducerNodeRef",
"fields": [
{
"name": "producerNode"
}
]
},
{
"condition": {
"typeReachable": "io.rsocket.internal.jctools.queues.BaseMpscLinkedArrayQueueColdProducerFields"
},
"name": "io.rsocket.internal.jctools.queues.BaseMpscLinkedArrayQueueColdProducerFields",
"fields": [
{
"name": "producerLimit"
}
]
},
{
"condition": {
"typeReachable": "io.rsocket.internal.jctools.queues.BaseMpscLinkedArrayQueueConsumerFields"
},
"name": "io.rsocket.internal.jctools.queues.BaseMpscLinkedArrayQueueConsumerFields",
"fields": [
{
"name": "consumerIndex"
}
]
},
{
"condition": {
"typeReachable": "io.rsocket.internal.jctools.queues.BaseMpscLinkedArrayQueueProducerFields"
},
"name": "io.rsocket.internal.jctools.queues.BaseMpscLinkedArrayQueueProducerFields",
"fields": [
{
"name": "producerIndex"
}
]
},
{
"condition": {
"typeReachable": "io.rsocket.internal.jctools.queues.LinkedQueueNode"
},
"name": "io.rsocket.internal.jctools.queues.LinkedQueueNode",
"fields": [
{
"name": "next"
}
]
},
{
"condition": {
"typeReachable": "io.rsocket.internal.jctools.queues.MpscArrayQueueConsumerIndexField"
},
"name": "io.rsocket.internal.jctools.queues.MpscArrayQueueConsumerIndexField",
"fields": [
{
"name": "consumerIndex"
}
]
},
{
"condition": {
"typeReachable": "io.rsocket.internal.jctools.queues.MpscArrayQueueProducerIndexField"
},
"name": "io.rsocket.internal.jctools.queues.MpscArrayQueueProducerIndexField",
"fields": [
{
"name": "producerIndex"
}
]
},
{
"condition": {
"typeReachable": "io.rsocket.internal.jctools.queues.MpscArrayQueueProducerLimitField"
},
"name": "io.rsocket.internal.jctools.queues.MpscArrayQueueProducerLimitField",
"fields": [
{
"name": "producerLimit"
}
]
},
{
"condition": {
"typeReachable": "io.rsocket.internal.jctools.queues.UnsafeAccess"
},
"name": "sun.misc.Unsafe",
"fields": [
{
"name": "theUnsafe"
}
],
"queriedMethods": [
{
"name": "getAndAddLong",
"parameterTypes": [
"java.lang.Object",
"long",
"long"
]
},
{
"name": "getAndSetObject",
"parameterTypes": [
"java.lang.Object",
"long",
"java.lang.Object"
]
}
]
}
]
@@ -0,0 +1,16 @@
[
{
"condition": {
"typeReachable": "io.rsocket.transport.netty.RSocketLengthCodec"
},
"name": "io.rsocket.transport.netty.RSocketLengthCodec",
"queryAllPublicMethods": true
},
{
"condition": {
"typeReachable": "io.rsocket.transport.netty.server.BaseWebsocketServerTransport$PongHandler"
},
"name": "io.rsocket.transport.netty.server.BaseWebsocketServerTransport$PongHandler",
"queryAllPublicMethods": true
}
]

0 comments on commit f15c14a

Please sign in to comment.