RFR: JDK-8285987: executing shell scripts without #! fails on Alpine linux
Martin Doerr
mdoerr at openjdk.java.net
Thu May 5 12:19:19 UTC 2022
On Wed, 4 May 2022 12:04:47 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> A couple a tests like java/lang/ProcessBuilder/Basic.java#id0.Basic_id0 and jdk/jshell/ExternalEditorTest.java.ExternalEditorTest try to start small shell scripts without #! at the first line of the script. This fails with error=8, Exec format error when running on Alpine 3.15 .
> Looks like this is a known issue on musl / Alpine, see also
> https://www.openwall.com/lists/musl/2018/03/09/2
> and
> https://github.com/scala-steward-org/scala-steward/issues/1374
> (we see it on Alpine 3.15).
LGTM.
-------------
Marked as reviewed by mdoerr (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/8535
More information about the core-libs-dev
mailing list