Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8285987

executing shell scripts without #! fails on Alpine linux

    XMLWordPrintable

Details

    • b22
    • generic
    • linux_alpine

    Backports

      Description

        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 scripts. This fails with error=8, Exec format error .
        Looks like this is a known issue on musl / Alpine, see also
        https://www.openwall.com/lists/musl/2018/03/09/2
        https://github.com/scala-steward-org/scala-steward/issues/1374
        (we see it on Alpine 3.15). So probably the tests need adjustment.

        Attachments

          Issue Links

            Activity

              People

                mbaesken Matthias Baesken
                mbaesken Matthias Baesken
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: