[jdk17] Integrated: 8269302: serviceability/dcmd/framework/InvalidCommandTest.java still fails after JDK-8268433

Alex Menkov amenkov at openjdk.java.net
Fri Jun 25 22:14:04 UTC 2021


On Fri, 25 Jun 2021 18:11:27 GMT, Alex Menkov <amenkov at openjdk.org> wrote:

> Please review this simple test fix for jdk17.
> 
> The cycle should run until connection is established (connection.isConnected() returns true) or error occurred (error != null)
> This wrong condition causes test error if ListenerThread.getConnection() reaches "synchronized (this)" section earlier than ListenerThread.run()

This pull request has now been integrated.

Changeset: 1404e4bf
Author:    Alex Menkov <amenkov at openjdk.org>
URL:       https://git.openjdk.java.net/jdk17/commit/1404e4bf44e28cadda3949f9e398e664cb98a5e2
Stats:     1 line in 1 file changed: 0 ins; 0 del; 1 mod

8269302: serviceability/dcmd/framework/InvalidCommandTest.java still fails after JDK-8268433

Reviewed-by: kevinw, dcubed

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

PR: https://git.openjdk.java.net/jdk17/pull/150


More information about the serviceability-dev mailing list