…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.)

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

Commit messages:
 - Adding bug number to the test.
 - 8255124: KeepAliveStreamCleaner may crash with 
java.lang.IllegalMonitorStateException: current thread is not owner

Changes: https://git.openjdk.java.net/jdk/pull/782/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=782&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8255124
  Stats: 12 lines in 2 files changed: 10 ins; 0 del; 2 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

Reply via email to