RFR: 8255124: KeepAliveStreamCleaner may crash with java.lang.IllegalMonit… [v2]
Jan Lahoda
jlahoda at openjdk.java.net
Wed Oct 21 16:45:27 UTC 2020
> …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
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/782/files
- new: https://git.openjdk.java.net/jdk/pull/782/files/17f69560..143aa185
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=782&range=01
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=782&range=00-01
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.java.net/jdk/pull/782.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/782/head:pull/782
PR: https://git.openjdk.java.net/jdk/pull/782
More information about the net-dev
mailing list