Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-6709498

win32 script should set MKS to use case-sensitive compare

XMLWordPrintable

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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: