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
Native image generation fails with Netty 4.1.44.Final #9918
Comments
@tovbinm we love contributions. If you have any idea how to fix this I am happy to review a pr. |
I have been told here - oracle/graal#2050 that it should be possible, but I failed to confirm yet. |
I saw exactly this symptom in a different project. The cause was that my agent-generated reflect.config contained:
... which was causing |
4 tasks
chrisvest
added a commit
to chrisvest/netty
that referenced
this issue
Nov 29, 2021
Motivation: People expect Netty to just be Netty when building native images, and so try to use the epoll transport. Modification: Add a native-image.properties file that tells native-image to initialise all of the epoll classes at runtime. Result: We can now use epoll in native runtime images. Fixes netty#11122 netty#10616 netty#9918
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected behavior
A working native image
Actual behavior
When I am trying to generate a native image on a project with Netty dependency I get the following error:
Steps to reproduce
"Hello world" server with 4.1.44.Final dependency
Minimal yet complete reproducer code (or URL to code)
N/A
Netty version
4.1.44.Final
JVM version (e.g.
java -version
)OS version (e.g.
uname -a
)(I also opened a similar issue here - oracle/graal#2050)
The text was updated successfully, but these errors were encountered: