----- Mail original ----- > De: "Alan Bateman" <alan.bate...@oracle.com> > À: "core-libs-dev" <core-libs-dev@openjdk.java.net>, "Remi Forax" > <fo...@univ-mlv.fr> > Envoyé: Dimanche 12 Mai 2019 10:32:59 > Objet: Re: Process.exec with the linux posix_spawn mode has a bug
> On 12/05/2019 09:23, fo...@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? Yes, it was intermittent because of the way the CI + my own installation script works, either the JDK was built (using jlink BTW) and it was Ok or the JDK files are cached [1] and reused but in that case the permission was not restored. > > -Alan > > [1] https://bugs.openjdk.java.net/browse/JDK-8176066 Rémi [1] https://www.appveyor.com/docs/build-cache/