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

jtreg needs to support new "long form" JDK options

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P2 P2
    • jtreg4.2
    • None
    • tools
    • None
    • b03

      jtreg needs to support the new "long form" JDK options, as defined in JEP 293 and JEP 261.

      Specifically, this includes:

      - Recognizing and handling long-form options that use white-space to separate their argument. This applies to options on the command line, and also options in actions within test descriptions (e.g. @compile, @run main, etc)

      - Updating support certain Jigsaw options on the jtreg command line, such as -addmods, -limitmods, -Xpatch

      - Updating the command lines generated by jtreg to invoke java and javac

      - Updating the code to generate the "module configuration summary", which is done, in part, by analysing command lines


      ----

      As in a similar occasion in recent past, jtreg should allow a "transition period" where both the old and new JDK options will be accepted, and one set or the other will be generated, based on a temporary property "useNewOptions=true" in the TEST.ROOT file.

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

              Created:
              Updated:
              Resolved: