test/hotspot/jtreg/vmTestbase/nsk/jdi/ClassType/invokeMethod/invokemethod001.java
equal
deleted
inserted
replaced
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. |
157 |
157 |
158 |
158 |
159 IOPipe pipe = new IOPipe(debuggee); |
159 IOPipe pipe = new IOPipe(debuggee); |
160 |
160 |
161 debuggee.redirectStderr(out); |
161 debuggee.redirectStderr(out); |
162 log2("location001a debuggee launched"); |
162 log2(debuggeeName + " debuggee launched"); |
163 debuggee.resume(); |
163 debuggee.resume(); |
164 |
164 |
165 String line = pipe.readln(); |
165 String line = pipe.readln(); |
166 if ((line == null) || !line.equals("ready")) { |
166 if ((line == null) || !line.equals("ready")) { |
167 log3("signal received is not 'ready' but: " + line); |
167 log3("signal received is not 'ready' but: " + line); |