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

Incorrect handling of paths in smart action args for Windows.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: jtreg4.2
    • Fix Version/s: jtreg4.2
    • Component/s: tools
    • Labels:
      None

      Description

      When substituting values for "smart action args" that include Windows path names, the '\' characters get dropped.

      The root cause is the use of Matcher::appendReplacement, which interprets '\' and '$' in the replacement string instead of treating the replacement string as a literal value.

      The solution is to avoid using appendReplacement.

        Attachments

          Activity

            People

            • Assignee:
              jjg Jonathan Gibbons
              Reporter:
              jjg Jonathan Gibbons
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: