JDK-8009824 has broken webrev with some ksh versions

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 8
    • Affects Version/s: None
    • Component/s: infrastructure
    • b87
    • os_x, solaris

      When executing:

      % ksh ../make/scripts/webrev.ksh -b -c JDK-6425477 -m -N

      Before JDK-8009824, this worked as expected.

      After, it fails with the following error.

      ksh ../make/scripts/webrev.ksh -b -c JDK-6425477 -m -N
         SCM detected: mercurial

       No outgoing, perhaps you haven't commited.
            Workspace: /export/home/brwetmor/jdk8/jdk
            Output to: /export/home/brwetmor/jdk8/jdk/webrev
         Output Files:
      ../make/scripts/webrev.ksh[2588]: syntax error at line 2786 : `NO_OUTGOING' unexpected

      I was not able to figure out what " if [[ -v NO_OUTGOING ]]; " actually does. Is this supposed to be a $NO_OUTGOING. And if so, what does -v do? I couldn't find -v documented in either ksh or test.

      Joe Darcy was able to get it to run on his Linux machine, but can't on Solaris.

            Assignee:
            Jim Gish (Inactive)
            Reporter:
            Bradford Wetmore
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: