Integrated: 8240343: JDI stopListening/stoplis001 "FAILED: listening is successfully stopped without starting listening"

Alex Menkov amenkov at openjdk.org
Fri Apr 12 22:32:46 UTC 2024


On Wed, 10 Apr 2024 00:28:01 GMT, Alex Menkov <amenkov at openjdk.org> wrote:

> The test starts listening on dynamic port and calls stopListening with incorrect (cArgs1) and correct (cArgs2) argument maps.
> Incorrect map is created by finding "free" port (`(new ServerSocket(0)).getLocalPort()`)
> The test fails if the same port is selected later when the listening starts.
> To avoid this free port should be picked after listening on dynamic port started.
> 
> Additionally removed unnecessary `exclusiveAccess.dirs=.` test property and incorrect comment in the description.
> The test uses `SocketListen` connectors, the coment is about `SharedMemoryListen` connector.
> 
> Testing: run the test on all Oracle-supported platforms 100 times

This pull request has now been integrated.

Changeset: 28b20195
Author:    Alex Menkov <amenkov at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/28b201955907e145f208d756b607ab545a83b2d3
Stats:     34 lines in 3 files changed: 6 ins; 28 del; 0 mod

8240343: JDI stopListening/stoplis001 "FAILED: listening is successfully stopped without starting listening"

Reviewed-by: cjplummer, sspitsyn

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

PR: https://git.openjdk.org/jdk/pull/18705


More information about the serviceability-dev mailing list