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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 11
    • 11
    • 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.

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

                Created:
                Updated:
                Resolved: