1 /* |
1 /* |
2 * Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2001, 2019, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
199 debugee = localRawLaunchDebugee(vmm, classToExecute, classPath); |
199 debugee = localRawLaunchDebugee(vmm, classToExecute, classPath); |
200 } else if (argumentHandler.isLaunchingConnector()) { |
200 } else if (argumentHandler.isLaunchingConnector()) { |
201 debugee = localLaunchDebugee(vmm, classToExecute, classPath); |
201 debugee = localLaunchDebugee(vmm, classToExecute, classPath); |
202 } else if (argumentHandler.isAttachingConnector()) { |
202 } else if (argumentHandler.isAttachingConnector()) { |
203 debugee = localLaunchAndAttachDebugee(vmm, classToExecute, classPath); |
203 debugee = localLaunchAndAttachDebugee(vmm, classToExecute, classPath); |
204 } else if (argumentHandler.isLaunchingConnector()) { |
|
205 debugee = localLaunchDebugee(vmm, classToExecute, classPath); |
|
206 } else if (argumentHandler.isListeningConnector()) { |
204 } else if (argumentHandler.isListeningConnector()) { |
207 debugee = localLaunchAndListenDebugee(vmm, classToExecute, classPath); |
205 debugee = localLaunchAndListenDebugee(vmm, classToExecute, classPath); |
208 } else { |
206 } else { |
209 throw new TestBug("Unexpected connector type for local debugee launch mode" |
207 throw new TestBug("Unexpected connector type for local debugee launch mode" |
210 + argumentHandler.getConnectorType()); |
208 + argumentHandler.getConnectorType()); |