Process.exec with the linux posix_spawn mode has a bug
Alan Bateman
Alan.Bateman at oracle.com
Sun May 12 08:32:59 UTC 2019
On 12/05/2019 09:23, forax at univ-mlv.fr wrote:
> Thanks Thomas,
> by the way, what is the purpose of jexec ?
>
jexec is legacy, should probably be removed [1].
It's good that the issue has been tracked down but I'm curious why it
was initially intermittent. I would have expected it to fail every time.
Also just to say that jlink goes out of its way to ensure that
jspawnhelper has execute permission so I assume the issue is something
copying a run-time image and not preserving permissions?
-Alan
[1] https://bugs.openjdk.java.net/browse/JDK-8176066
More information about the core-libs-dev
mailing list