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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 11
    • 11
    • tools
    • b20

        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.

              jjg Jonathan Gibbons
              mchung Mandy Chung (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: