jtreg 8.1. fails to parse vmoption parameter

XMLWordPrintable

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

      I am not sure if its my error, but I could have sworn this worked before.

      I run a jtreg test; adding an XX switch as -vmoption to the command line causes the jtreg test to say "no tests selected", regardless of what particular XX switch I give it:

      '''
      jtreg '-vmoption:-XX:+UseNewCode' -J-Djavatest.maxOutputSize=2000000 -retain -automatic -conc:8 -jdk:/shared/projects/openjdk/jdk-jdk/output-fastdebug/images/jdk -nativepath:/shared/projects/openjdk/jdk-jdk/output-fastdebug/images/test/jdk/jtreg/native /shared/projects/openjdk/jdk-jdk/source/test/jdk/jdk/jfr/jvm/TestWaste.java
      Test results: no tests selected
      '''

      - without the switch, it works

      - with a non-XX option (e.g. '-vmoption:-Xmx2g'), it works

      I am on Linux, Fedora.

            Assignee:
            Unassigned
            Reporter:
            Thomas Stuefe
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: