win32 script should set MKS to use case-sensitive compare

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • jtreg4.0
    • Affects Version/s: jtreg4.0
    • Component/s: tools
    • None
    • team
    • generic
    • generic

      There is a problem with jtreg usage under MKS. By default, comparison case statements in MKS are case-insensitive. This means that -javacoptions is matched with -J* and thus is recognized as java option, added to java command line and causes jtreg to fail:

      Unrecognized option: -javacoptions:
      Could not create the Java virtual machine.

      See

      http://www.mkssoftware.com/support/kb/default.asp?article=168


      for i in "$@" ; do
          IFS=
          case $i in
          -jdk:* ) jdk="`echo $i | sed -e 's/^-jdk://'`"
                      jtregOpts=$jtregOpts$nl$i ;;
          -J* ) javaOpts=$javaOpts$nl`echo $i | sed -e 's/^-J//'` ;;
          * ) jtregOpts=$jtregOpts$nl$i ;;
          esac
          IFS="$saveIFS"
      done

            Assignee:
            Jonathan Gibbons
            Reporter:
            Nicolay Haustov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: