RFR: 8255124: KeepAliveStreamCleaner may crash with java.lang.IllegalMonit… [v2]

Daniel Fuchs dfuchs at openjdk.java.net
Wed Oct 21 19:05:12 UTC 2020


On Wed, 21 Oct 2020 16:45:27 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.)
>
> Jan Lahoda has updated the pull request incrementally with one additional commit since the last revision:
> 
>   When the test fails, throw RuntimeException instead of AssertionError, as suggested by alanb

Marked as reviewed by dfuchs (Reviewer).

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

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


More information about the net-dev mailing list