Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8219140 get rid of vmTestbase/PropertyResolvingWrapper
  3. JDK-8252477

nsk/share/ArgumentParser should expect that jtreg "splits" an argument

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 16
    • Fix Version/s: 16
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b14

      Description

      jtreg splits command line by space to get the list of arguments and there is no way to prevent that (nor thru escaping, nor by adding quotes). currently, PropertyResolvingWrapper handles that and joins multiple arguments within double quotes into one argument before passing it to the actual test class. the only place where it's needed is in the tests which use nsk/share/ArgumentParser (or more precisely nsk.share.jpda.DebugeeArgumentHandler and nsk/share/jdb/JdbArgumentHandler).

      in preparation for PropertyResolvingWrapper removal, ArgumentParser should be updated to handle the "split" argument on its own.

        Attachments

          Activity

            People

            Assignee:
            iignatyev Igor Ignatyev
            Reporter:
            iignatyev Igor Ignatyev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: