-
Notifications
You must be signed in to change notification settings - Fork 874
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
Fix: Enable to add docker instance via socket on mac with apple silicon #6328
Conversation
Is there a reason to keep the architecture check in here? It's either relevant or it isn't! What architecture and OS set is actually supported by the underlying implementation here? |
I suspect that the architecture and OS check is in place to only offer unix domain sockets on systems where junixsocket can work. If this is agreed on, I suggest to update public boolean isSocketSupported() {
return AFUNIXSocket.isSupported();
} Then all supported architectures will get this (Windows, Linux, mac OS, the various BSDs on aarch64, amd64, arm, ppc64, riscv64). |
bc84ebf
to
c5e53af
Compare
https://patch-diff.githubusercontent.com/raw/apache/netbeans/pull/6328.patch we would need the full name in the commit author field. Also, please squash all commits into one and force push, thanks! |
c5e53af
to
074c8a7
Compare
Use AFUNIXSocket.isSupported() to check the socket support
89cea3a
to
17e30ba
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks. looks good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Haven't tested, but this is what my previous comment was suggesting to look for.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@matthiasblaesing agreed, sometimes very useful. Both |
Enable to add docker instance via socket on mac with apple silicon.
#6326