-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Description
docker-java
a popular library, fails to communicate with local docker instances when built by native-image
but the same code works perfectly under JVM. It seems to be some kind of a weird problem with JNA built by NI or NI itself, at least docker-java
developers think that.
Here is a simple repro: https://github.com/7mind/graalvm-native-image-jna-bad-address-bug-demo
Could you investigate please?
UPD:
- Doesn't cannot connect to unix://localhost:80 when compiled with GraalVM docker-java/docker-java#1820 (open)
- java.net.Socket fails on local Unix addresses when compiled with GraalVM native image, works well under JVM java-native-access/jna#1412 (closed, not a JNA issue according to the developer, the advice is to call the relevant APIs directly under NI, there are some additional details and diagnostics)
- Native builds (GraalVM) run into UnsatisfiedLinkError libjnidispatch.so docker-java/docker-java#1714 (closed, ignored)
Odomontois, vilunov, the-pavels, collderart, nikitapecasa and 21 more