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

GeneratePropertyPassword.sh uses bash syntax

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 13
    • Fix Version/s: 13
    • Component/s: core-svc
    • Labels:

      Description

      Filed on behalf of Sergei Ustimenko (merkel05@gmail.com).

      In JDK9, the patch for JDK-8025886 fixed jdk/test/sun/management/jmxremote/bootstrap/GeneratePropertyPassword.sh to not use '==' bash syntax, but the patch didn't make it into newer releases. See http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/a2551e12a9ea for the trivial patch:

      -if [[ $OS == CYGWIN_NT* ]] ; then
      +case $OS in
      +CYGWIN_NT*)
           OS="Windows_NT"
           if [ -z "$SystemRoot" ] ; then
      - SystemRoot=$SYSTEMROOT
      + SystemRoot=$SYSTEMROOT
           fi
      -fi
      +esac

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                phh Paul Hohensee
                Reporter:
                phh Paul Hohensee
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: