Modernize debugging jvm args in test/hotspot/jtreg/vmTestbase/nsk/jdi/Argument/value/value004.java

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 21
    • Affects Version/s: None
    • Component/s: core-svc
    • b16

      The test test/hotspot/jtreg/vmTestbase/nsk/jdi/Argument/value/value004.java uses outdated JVM flags to configure debugging:

      The test currently uses the anachronistic options 'Xdebug -Xnoagent -Djava.compiler=NONE'

      Instead it should just use the regular 'agentlib:jdwp' style of option:

      ovl = argHandler.getLaunchExecPath() + " "
           +"-agentlib:jdwp=transport=" + c.transport().name() +",server=n,suspend=y,"
           + "address=" + address + " nsk.jdi.Argument.value.value004a";

      This is part of an ongoing effort to remove the use of -Djava.compiler from OpenJDK.

            Assignee:
            Eirik Bjørsnøs
            Reporter:
            Eirik Bjørsnøs
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: