test/jdk/tools/launchers/SourceMode.java fails with long shebang line

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 11
    • Affects Version/s: 11
    • Component/s: tools
    • b18

        When running the test with huge long paths for the launcher, we are running into the silent truncation problem for long shebang lines.

        The log added by JDK-8204588 shows the warning, and the subsequent truncated filename in the error message. The longest arguments passed to the shebang java is " --source 10 @testBadAtFile/bad.at" (35 chars).

        We should lower the max tolerated length of javacCmd from 100 to 90.

              Assignee:
              Mandy Chung (Inactive)
              Reporter:
              Mandy Chung (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: