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

Reviewed-by: dholmes, cjplummer, alanb
This commit is contained in:
Eirik Bjorsnos 2023-03-28 04:21:15 +00:00 committed by David Holmes
parent 426025aab4
commit 4f625c0b9a

@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2000, 2023, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -122,8 +122,7 @@ public class value004 {
}
flg = true;
ovl = argHandler.getLaunchExecPath() + " "
+ "-Xdebug -Xnoagent -Djava.compiler=NONE "
+ "-Xrunjdwp:transport=" + c.transport().name() + ",suspend=y,"
+"-agentlib:jdwp=transport=" + c.transport().name() +",server=n,suspend=y,"
+ "address=" + address + " nsk.jdi.Argument.value.value004a";
if (argval.isValid(ovl)) {
argval.setValue(ovl);