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

Incorrect handling of paths in smart action args for Windows.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • jtreg4.2
    • jtreg4.2
    • tools
    • None

      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.

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

              Created:
              Updated:
              Resolved: