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

Re-enable shebang tests in test/jdk/tools/launchers/SourceMode.java

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 11
    • Fix Version/s: 11
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b20

      Backports

        Description

        http://mail.openjdk.java.net/pipermail/core-libs-dev/2018-June/053703.html

        shebang tests are disabled in JDK-8204648 as a workaround.

        JDK-8204588 [1] fixed the test to handle long paths to the Java launcher in some test execution environments, causing the shebang line to overflow the underlying system limit of 128 characters. The fix skips the shebang test if the path to java command has more than 100 characters. However, the arguments passed to java command in some cases is more than 28 characters and the test still fails in some environment.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jjg Jonathan Gibbons
                  Reporter:
                  mchung Mandy Chung
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: