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

"javatestClassDir" variable may be incorrectly encoded

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • jt4.2.1
    • jt4.1.3
    • tools
    • b06
    • generic
    • generic
    • Verified

      Harness exports "javatestClassDir" environment variable that usually contains absolute path to the "javatest.jar". If the actual path name has white spaces inside (or other special characters), then the exported value will be mistakenly encoded.

      For example:
      (1) "tck dir with spaces/lib/javatest.jar"
      =>
      (2) "tck%20dir%20with%20spaces/lib/javatest.jar"

      Since the encoded file name (2) cannot be resolved, the "javatestClassDir" variable will point to the non-existing directory that causes TCK tests to fail.

            dfazunen Dmitry Fazunenko (Inactive)
            agavrilosunw Alexey Gavrilov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: