28 lines
1.2 KiB
Diff
28 lines
1.2 KiB
Diff
From 952b5418911a0cbe864d83998b1c99904830d463 Mon Sep 17 00:00:00 2001
|
|
Date: Fri, 28 Aug 2020 09:21:14 +0800
|
|
Subject: [PATCH] The runok method retrying another port does not take effect
|
|
|
|
Summary: <java.rmi>: The runok method retrying another port does not take effect
|
|
LLT: jdk8u/jdk/test/sun/management/jmxremote/bootstrap/RmiBootstrapTest.sh
|
|
Bug url:
|
|
---
|
|
jdk/test/sun/management/jmxremote/bootstrap/RmiBootstrapTest.java | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/jdk/test/sun/management/jmxremote/bootstrap/RmiBootstrapTest.java b/jdk/test/sun/management/jmxremote/bootstrap/RmiBootstrapTest.java
|
|
index d9c20c678..60219e68a 100644
|
|
--- a/jdk/test/sun/management/jmxremote/bootstrap/RmiBootstrapTest.java
|
|
+++ b/jdk/test/sun/management/jmxremote/bootstrap/RmiBootstrapTest.java
|
|
@@ -824,7 +824,7 @@ public class RmiBootstrapTest {
|
|
|
|
String errStr = null;
|
|
for (int i=0;i<conf.length;i++) {
|
|
- for (int j = 0; j < PORT_TEST_LEN; i++) {
|
|
+ for (int j = 0; j < PORT_TEST_LEN; j++) {
|
|
try {
|
|
errStr = testConfiguration(conf[i],port+testPort++);
|
|
break;
|
|
--
|
|
2.12.3
|
|
|