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

jtreg.jar does not allow to set arbitrary VM parameters in TESTVMOPTS

    XMLWordPrintable

Details

    • fcs
    • generic
    • generic

    Description

      Name: vsR10238 Date: 10/29/2003


      Filed By : J2SE-SQA [###@###.###
      Platform[s] : generic

      jtreg.jar does not allow to set arbitrary parameters for tested VM in TESTVMOPTS.
      The problem is that the same options are passed as to java launcher as to the compiler
      causing compilation errors.

      This makes impossible to verify some bugs which require additional parameters (like -Xshared)
      or to perform test runs with such parameters.

      A possible solution could be to skip parameters not understood by the compiler in CompilerAction.
      I am not sure that it's worth to pass any non-default parameters to the compiler.

      Also, it is necessary to quote values from envVars in ShellAction


      ======================================================================

      Attachments

        Activity

          People

            jjg Jonathan Gibbons
            vshsunw Vsh Vsh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: