--- a/test/jdk/com/sun/jdi/DoubleAgentTest.java Tue Oct 09 16:08:07 2018 +0530
+++ b/test/jdk/com/sun/jdi/DoubleAgentTest.java Fri Oct 12 10:08:11 2018 -0700
@@ -41,10 +41,8 @@
"test.classes", ".");
public static void main(String[] args) throws Throwable {
- int port = Utils.getFreePort();
-
String jdwpOption = "-agentlib:jdwp=transport=dt_socket"
- + ",server=y" + ",suspend=n" + ",address=*:" + String.valueOf(port);
+ + ",server=y" + ",suspend=n" + ",address=*:0";
OutputAnalyzer output = ProcessTools.executeTestJvm("-classpath",
TEST_CLASSES,