-
Notifications
You must be signed in to change notification settings - Fork 6
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
Allow users to instantiate ServerSocket themselves #14
Allow users to instantiate ServerSocket themselves #14
Conversation
So that they can they can use Java 16 Unix domain socket support if they want to.
cc @tgodzik |
I think these changes look sensible, we should merge it (I think I should have the rights now, but you might need to make it ready to review) btw. @alexarchambault do you think we could upstream the changes here to the main fork of nailgun? I haven't looked too much into this fork, but it would be awesome to get rid of it. |
@tgodzik Let's merge if it's fine then. Not sure if that's published once it's merged though, it seems there's no CI any more :/ |
About upstreaming the changes here, I'm not really sure. It seems the changes revolve around:
|
About the logging-related changes, I'm inclined to think these are unnecessary… Bloop could just configure java.util.logging on its own, rather than switching the codebase here to slf4j. If we really want logging messages via slf4j, we can always use a java-util-logging-to-slf4j bridge. But it seems Bloop disables those messages altogether via slf4j-nop, so we might as well just disable them by configuring java.util.logging (can even be done via some API calls IIRC). |
That leaves:
|
From what I see the maintainers do not seem too active there, so maybe it's ok to leave this fork be. |
For releasing I think it was done manually 🤔 I need to figure out who can be bothered to do it 😅 |
This PR allows users to pass their own
java.net.ServerSocket
instance for domain sockets, rather than letting nailgun build it with itsNGUnixDomainServerSocket
andNGWin32NamedPipeServerSocket
classes.The should allow Bloop to get its
ServerSocket
instance via libdaemon-jvm, that(Feel free to either merge right now, or wait for the upcoming Bloop PR that relies on this.)