Integrated: 8255124: KeepAliveStreamCleaner may crash with java.lang.IllegalMonitorStateException: current thread is not owner

Jan Lahoda jlahoda at openjdk.java.net
Thu Oct 22 07:35:13 UTC 2020


On Wed, 21 Oct 2020 13:12:03 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:

> …orStateException: current thread is not owner
> 
> The KeepAliveStreamCleaner is calling Condition.wait (i.e. the Object.wait variant), should presumably be calling Condition.await. (NetBeans is producing warnings on the line as well.)

This pull request has now been integrated.

Changeset: 211bb62a
Author:    Jan Lahoda <jlahoda at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/211bb62a
Stats:     12 lines in 2 files changed: 10 ins; 0 del; 2 mod

8255124: KeepAliveStreamCleaner may crash with java.lang.IllegalMonitorStateException: current thread is not owner

Reviewed-by: alanb, chegar, dfuchs

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

PR: https://git.openjdk.java.net/jdk/pull/782


More information about the net-dev mailing list