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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 21
    • None
    • 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.

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

              Created:
              Updated:
              Resolved: