Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6622468

TEST_BUG: Time to retire the @debuggeeVMOptions mechanism used in the com.sun.jdi infrastructure

XMLWordPrintable

    • b20
    • generic
    • generic

      When a com/sun/jdi test is run, if options are to be passed to the debuggee VM, they have to be placed in a file named @debuggeeVMOptions by the caller of jtreg. The jdi test infrastructure extracts the options from this file and uses them in the launching of the debuggee. The reason for this is that jtreg did not support a mechanism for doing this.

      Newer versions of jtreg, eg, 3.2.2 allow arbitrary options to be passed to the program under test in -vmoptions.
      We should define a property, eg jdi.debuggee.VMoptions, into which debuggee VM options can be placed by the caller of jtreg and from which the test infrastructure can get those options and use them in the launching of the debuggee VM.
      EG, a jtreg caller could do
          jtreg .... -vmoption:'-Djdi.debuggee.VMoptions="-server -Xcomp"'

            sla Staffan Larsen (Inactive)
            jjh James Holmlund (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: