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

GeneratePropertyPassword.sh uses bash syntax

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 13
    • 13
    • core-svc

    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

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

              Dates

                Created:
                Updated:
                Resolved: