Skip to content

Commit 39c9de2

Browse files
committed
8359958: Cleanup "local" debuggee references after JDK-8333117 removed support for non-local debuggees
Reviewed-by: lmesnik, sspitsyn, amenkov
1 parent 05c9eec commit 39c9de2

File tree

19 files changed

+90
-105
lines changed

19 files changed

+90
-105
lines changed

test/hotspot/jtreg/serviceability/dcmd/framework/TestProcessLauncher.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
/*
3-
* Copyright (c) 2019, 2021, Oracle and/or its affiliates. All rights reserved.
3+
* Copyright (c) 2019, 2025, Oracle and/or its affiliates. All rights reserved.
44
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
55
*
66
* This code is free software; you can redistribute it and/or modify it
@@ -65,7 +65,7 @@ public Process launch() {
6565

6666
String cmd = prepareLaunch(java, argHandler.getPipePort());
6767

68-
Debugee debuggee = binder.startLocalDebugee(cmd);
68+
Debugee debuggee = binder.startDebugee(cmd);
6969
debuggee.redirectOutput(log);
7070

7171
String line = pipe.readln();

test/hotspot/jtreg/vmTestbase/nsk/jdi/AttachingConnector/attach/attach001.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2000, 2024, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2000, 2025, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -105,7 +105,7 @@ private int runIt(String argv[], PrintStream out) {
105105

106106
Binder binder = new Binder(argHandler, log);
107107
log.display("command: " + cmd);
108-
Debugee debugee = binder.startLocalDebugee(cmd);
108+
Debugee debugee = binder.startDebugee(cmd);
109109
JDWP.ListenAddress listenAddress = debugee.redirectOutputAndDetectListeningAddress(log);
110110
String port = listenAddress.address();
111111

test/hotspot/jtreg/vmTestbase/nsk/jdi/AttachingConnector/attach/attach002.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2000, 2024, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2000, 2025, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -110,7 +110,7 @@ private int runIt(String argv[], PrintStream out) {
110110

111111
Binder binder = new Binder(argHandler, log);
112112
log.display("command: " + cmd);
113-
Debugee debugee = binder.startLocalDebugee(cmd);
113+
Debugee debugee = binder.startDebugee(cmd);
114114
debugee.redirectOutput(log);
115115

116116
if ((vm = attachTarget(name)) == null) {

test/hotspot/jtreg/vmTestbase/nsk/jdi/AttachingConnector/attachnosuspend/attachnosuspend001.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2007, 2024, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2007, 2025, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -105,7 +105,7 @@ private int runIt(String argv[], PrintStream out) {
105105

106106
Binder binder = new Binder(argHandler, log);
107107
log.display("command: " + cmd);
108-
Debugee debugee = binder.startLocalDebugee(cmd);
108+
Debugee debugee = binder.startDebugee(cmd);
109109
JDWP.ListenAddress listenAddress = debugee.redirectOutputAndDetectListeningAddress(log);
110110
String port = listenAddress.address();
111111

test/hotspot/jtreg/vmTestbase/nsk/jdi/LaunchingConnector/launchnosuspend/launchnosuspend001.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2007, 2024, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2007, 2025, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -116,7 +116,7 @@ private int run() {
116116

117117
//vm.setDebugTraceMode(VirtualMachine.TRACE_ALL);
118118
Binder binder = new Binder(argHandler, log);
119-
Debugee debugee = binder.makeLocalDebugee(vm.process());
119+
Debugee debugee = binder.makeDebugee(vm.process());
120120
debugee.redirectOutput(log);
121121
debugee.setupVM(vm);
122122
//debugee.waitForVMInit(1000);

test/hotspot/jtreg/vmTestbase/nsk/jdi/ListeningConnector/accept/accept001.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2000, 2024, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2000, 2025, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -89,7 +89,7 @@ private int runIt(String argv[], PrintStream out) {
8989

9090
Binder binder = new Binder(argHandler, log);
9191
log.display("command: " + cmd);
92-
Debugee debugee = binder.startLocalDebugee(cmd);
92+
Debugee debugee = binder.startDebugee(cmd);
9393
debugee.redirectOutput(log);
9494

9595
if ((vm = attachTarget()) == null) {

test/hotspot/jtreg/vmTestbase/nsk/jdi/ListeningConnector/accept/accept002.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2000, 2024, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2000, 2025, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -90,7 +90,7 @@ private int runIt(String argv[], PrintStream out) {
9090

9191
Binder binder = new Binder(argHandler, log);
9292
log.display("command: " + cmd);
93-
Debugee debugee = binder.startLocalDebugee(cmd);
93+
Debugee debugee = binder.startDebugee(cmd);
9494
debugee.redirectOutput(log);
9595

9696
if ((vm = attachTarget()) == null) {

test/hotspot/jtreg/vmTestbase/nsk/jdi/ListeningConnector/listennosuspend/listennosuspend001.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2007, 2024, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2007, 2025, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -89,7 +89,7 @@ private int runIt(String argv[], PrintStream out) {
8989

9090
Binder binder = new Binder(argHandler, log);
9191
log.display("command: " + cmd);
92-
Debugee debugee = binder.startLocalDebugee(cmd);
92+
Debugee debugee = binder.startDebugee(cmd);
9393
debugee.redirectOutput(log);
9494

9595
if ((vm = attachTarget()) == null) {

test/hotspot/jtreg/vmTestbase/nsk/jdi/ListeningConnector/startListening/startlis001.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2000, 2024, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2000, 2025, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -168,7 +168,7 @@ private int runIt(String argv[], PrintStream out) {
168168

169169
log.display("command: " + cmd);
170170
try {
171-
debugee = binder.startLocalDebugee(cmd);
171+
debugee = binder.startDebugee(cmd);
172172
debugee.redirectOutput(log);
173173
} catch (Exception e) {
174174
stopListen();

test/hotspot/jtreg/vmTestbase/nsk/jdi/ListeningConnector/startListening/startlis002.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2000, 2024, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2000, 2025, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -143,7 +143,7 @@ private int runIt(String argv[], PrintStream out) {
143143

144144
log.display("command: " + cmd);
145145
try {
146-
debugee = binder.startLocalDebugee(cmd);
146+
debugee = binder.startDebugee(cmd);
147147
debugee.redirectOutput(log);
148148
} catch (Exception e) {
149149
stopListen();

0 commit comments

Comments
 (0)