24 lines
867 B
Diff
24 lines
867 B
Diff
Subject: Backport of JDK-8305937
|
|
|
|
Signed-off-by: Qeryu <u201911667@hust.edu.cn>
|
|
---
|
|
test/jdk/com/sun/jdi/TestScaffold.java | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/test/jdk/com/sun/jdi/TestScaffold.java b/test/jdk/com/sun/jdi/TestScaffold.java
|
|
index 2d4885c90..e46a44eda 100644
|
|
--- a/test/jdk/com/sun/jdi/TestScaffold.java
|
|
+++ b/test/jdk/com/sun/jdi/TestScaffold.java
|
|
@@ -513,7 +513,7 @@ abstract public class TestScaffold extends TargetAdapter {
|
|
public void connect(String args[]) {
|
|
ArgInfo argInfo = parseArgs(args);
|
|
|
|
- argInfo.targetVMArgs += VMConnection.getDebuggeeVMOptions();
|
|
+ argInfo.targetVMArgs = VMConnection.getDebuggeeVMOptions() + " " + argInfo.targetVMArgs;
|
|
connection = new VMConnection(argInfo.connectorSpec,
|
|
argInfo.traceFlags);
|
|
|
|
--
|
|
2.33.0
|
|
|