Skip to content

Commit

Permalink
Native image: add support for unix domain sockets (#13242)
Browse files Browse the repository at this point in the history
Motivation:

unix domain sockets with graalvm native image require additional reflection configuration

Modification:

add unix domain sockets graalvm configuration in reflect-config.json

Result:

unix domain sockets with graalvm native image work out of the box
  • Loading branch information
mostroverkhov committed Mar 2, 2023
1 parent 99204e9 commit 84cf7d6
Showing 1 changed file with 14 additions and 0 deletions.
Expand Up @@ -6,6 +6,20 @@
"name":"io.netty.channel.epoll.EpollServerSocketChannel",
"allDeclaredConstructors": true
},
{
"condition": {
"typeReachable": "io.netty.channel.epoll.Native"
},
"name":"io.netty.channel.epoll.EpollDomainSocketChannel",
"allDeclaredConstructors": true
},
{
"condition": {
"typeReachable": "io.netty.channel.epoll.Native"
},
"name":"io.netty.channel.epoll.EpollServerDomainSocketChannel",
"allDeclaredConstructors": true
},
{
"condition": {
"typeReachable": "io.netty.channel.epoll.Native"
Expand Down

0 comments on commit 84cf7d6

Please sign in to comment.