-vmoption only works once

XMLWordPrintable

    • Type: Bug
    • Resolution: Not an Issue
    • Priority: P3
    • None
    • Affects Version/s: None
    • Component/s: tools
    • None

      this works:
      java -jar jtreg.jar -vmoption:-Xmx196M ...

      this also works:
      java -jar jtreg.jar -vmoption:-XX:+UseSerialGC ...

      this does not work:
      java -jar jtreg.jar -vmoption:-XX:+UseSerialGC -vmoption:-Xmx196M ...
      with:
      Unrecognized VM option 'UseSerialGC -J-Xmx196M'

            Assignee:
            Jonathan Gibbons
            Reporter:
            Aleksandre Iline
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: