--- a/jdk/test/sun/management/jmxremote/startstop/JMXStartStopTest.java Wed Sep 03 06:57:40 2014 +0000
+++ b/jdk/test/sun/management/jmxremote/startstop/JMXStartStopTest.java Wed Sep 03 16:05:41 2014 +0200
@@ -617,7 +617,10 @@
busyPort = ss.getLocalPort();
jcmd(
line -> {
- if (line.contains("Port already in use: " + busyPort)) {
+ boolean match = line.contains("Port already in use: " +
+ busyPort);
+ System.out.println("[match] " + line + " => " + match);
+ if (match) {
checks.getAndUpdate((op) -> op | 4);
}
},