Skip to content

Commit 2f9f2b0

Browse files
committed
Resolved chunks
1 parent f810881 commit 2f9f2b0

File tree

4 files changed

+3
-382
lines changed

4 files changed

+3
-382
lines changed

test/hotspot/jtreg/vmTestbase/nsk/share/jdb/Launcher.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2002, 2018, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2002, 2024, 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

test/hotspot/jtreg/vmTestbase/nsk/share/jdi/Binder.java

Lines changed: 1 addition & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public Binder (ArgumentHandler argumentHandler, Log log) {
127127
* started with launching connector.
128128
*/
129129
public Debugee makeLocalDebugee(Process process) {
130-
LocalLaunchedDebugee debugee = new LocalLaunchedDebugee(process, this);
130+
Debugee debugee = new Debugee(process, this);
131131

132132
Finalizer finalizer = new Finalizer(debugee);
133133
finalizer.activate();
@@ -696,41 +696,6 @@ protected Debugee startLocalDebugee(String[] cmdArgs) {
696696
return makeLocalDebugee(process);
697697
}
698698

699-
/**
700-
* Launch remote debuggee process with specified command line arguments
701-
* and make initial <code>Debugee</code> mirror.
702-
*/
703-
protected RemoteLaunchedDebugee startRemoteDebugee(String[] cmdArgs) {
704-
try {
705-
launchRemoteProcess(cmdArgs);
706-
} catch (IOException e) {
707-
e.printStackTrace(log.getOutStream());
708-
throw new Failure("Caught exception while launching remote debuggee VM process:\n\t"
709-
+ e);
710-
}
711-
712-
RemoteLaunchedDebugee debugee = new RemoteLaunchedDebugee(this);
713-
714-
Finalizer finalizer = new Finalizer(debugee);
715-
finalizer.activate();
716-
717-
return debugee;
718-
}
719-
720-
/**
721-
* Launch manual debuggee process with specified command line arguments
722-
* and make initial <code>Debugee</code> mirror.
723-
*/
724-
protected ManualLaunchedDebugee startManualDebugee(String cmd) {
725-
ManualLaunchedDebugee debugee = new ManualLaunchedDebugee(this);
726-
debugee.launchDebugee(cmd);
727-
728-
Finalizer finalizer = new Finalizer(debugee);
729-
finalizer.activate();
730-
731-
return debugee;
732-
}
733-
734699
public static String readVMStartExceptionOutput(VMStartException e, PrintStream log) {
735700
StringBuffer msg = new StringBuffer();
736701
try (InputStream is = e.process().getInputStream()) {

test/hotspot/jtreg/vmTestbase/nsk/share/jdi/Debugee.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2001, 2020, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2001, 2024, 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

0 commit comments

Comments
 (0)