equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2005, 2014, 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. |
83 // Listening for transport dt_socket at address: xxxxx |
83 // Listening for transport dt_socket at address: xxxxx |
84 // which shows the debuggee is ready to accept connections. |
84 // which shows the debuggee is ready to accept connections. |
85 success.set(line.contains("Listening for transport dt_socket at address:")); |
85 success.set(line.contains("Listening for transport dt_socket at address:")); |
86 return true; |
86 return true; |
87 }, |
87 }, |
88 1500, |
88 Integer.MAX_VALUE, |
89 TimeUnit.MILLISECONDS |
89 TimeUnit.MILLISECONDS |
90 ); |
90 ); |
91 |
91 |
92 return success.get() ? p : null; |
92 return success.get() ? p : null; |
93 } |
93 } |