docker-client icon indicating copy to clipboard operation
docker-client copied to clipboard

Dropping dependency on jnr-unixsocket

Open akurtakov opened this issue 2 years ago • 3 comments

The project requires on the JNR stack for unixsocket but Java 16+ already provides native support. It would be nice to make use of it and drop this extra dependency from the dependency stack. Will the project be interested in such a patch?

akurtakov avatar Dec 15 '23 14:12 akurtakov

Hi @akurtakov ,

Thanks for opening this. Of course it would be interesting, feel free to open a PR.

Thanks again, Dimitris

dmandalidis avatar Dec 15 '23 14:12 dmandalidis

Just as a hint what I did for Linux Tools project https://github.com/eclipse-linuxtools/org.eclipse.linuxtools/pull/290 . I may find time to try smth similar here too.

akurtakov avatar Dec 15 '23 16:12 akurtakov

Unfortunately the the unixsocket support is implemented only at SocketChannel but not at Socket layer API. This seems to not fit at all with ConnectionSocketFactory. If you have some guidance what could be done in this case, please let me know.

akurtakov avatar Dec 15 '23 19:12 akurtakov