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

    • Sub-task
    • Resolution: Fixed
    • P4
    • 16
    • 16
    • hotspot
    • 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

            iignatyev Igor Ignatyev (Inactive)
            iignatyev Igor Ignatyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: