On 29/11/2018, 17:19, Alan Bateman wrote:
On 28/11/2018 15:50, Michael McMahon wrote:
Could I get the following fix reviewed please?
The fix is pretty simple, but the test a bit more involved
since the issue occurs when the JVM is launched in unusual circumstances
where its stdin,out,err are connected to a UNIX domain socket.
This occurs when java is launched by a node.js or Python script.

http://cr.openjdk.java.net/~michaelm/8211842/webrev.1/
Definitely an unusual way to launch the VM. The update to net_util_md.c looks okay.

For the test then can UnixSocketFile be moved into its own source file to make it clearer? Also I think we should move the static fields and CHECK macro to the top of libInheritedChannel.c so that the JNI methods are all together.

Thanks Alan.

I assume you mean the UnixSocket class which is in Launcher.java currently. Okay, I will refactor
to do that, and fix the copyright header too.

- Michael.

-Alan


Reply via email to