RFR: 8317736: Stream::handleReset locks twice

Daniel Fuchs dfuchs at openjdk.org
Mon Oct 9 14:02:27 UTC 2023


Trivial one liner fix.

The fix for [JDK-8308310](https://bugs.openjdk.org/browse/JDK-8308310) introduced a reentrant `stateLock` but also a regression. In Stream::handleReset the lock is locked twice.

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

Commit messages:
 - 8317736

Changes: https://git.openjdk.org/jdk/pull/16101/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16101&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8317736
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/16101.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/16101/head:pull/16101

PR: https://git.openjdk.org/jdk/pull/16101


More information about the net-dev mailing list