[jdk8u-dev] RFR: 8035395: sun/management/jmxremote/startstop/JMXStartStopTest.java fails intermittently: Port already in use

Andrew John Hughes andrew at openjdk.org
Sat Jun 15 17:41:17 UTC 2024


On Thu, 25 Jan 2024 07:32:51 GMT, Kazuhisa Takakuri <ktakakuri at openjdk.org> wrote:

> Hi all,
> 
> This is a backport of JDK-8035395: sun/management/jmxremote/startstop/JMXStartStopTest.java fails intermittently: Port already in use.
> The JMXStartStopTest.java test failures reported in this issue also occur in JDK8.
> This backport improves testing to use a dynamically allocated port.
> 
> testing: jdk/test/sun/management/jmxremote/startstop/JMXStartStopTest.java
> 
> With this fix alone, the test remains unstable.
> Backporting with JDK-8035395 makes JMXStartStopTest.java more stable.
> 
> Thank you.

Backport looks good to me.

I see some differences with the 11u version, but this is because 8u got JDK-8044135 first, whereas this comes after this patch in 11u. JDK-8044135 removes `test_13` and `test_14` which were patched by 8035395 in 11u, and also alters the method signatures.

-------------

Marked as reviewed by andrew (Reviewer).

PR Review: https://git.openjdk.org/jdk8u-dev/pull/429#pullrequestreview-2120661162


More information about the jdk8u-dev mailing list