RFR: 8310530: PipedOutputStream.flush() accesses sink racily [v2]

Sergey Tsypanov stsypanov at openjdk.org
Wed Jun 21 15:03:12 UTC 2023


> Just a tiny clean-up to remove racy read within synchronized method

Sergey Tsypanov has updated the pull request incrementally with one additional commit since the last revision:

  Update src/java.base/share/classes/java/io/PipedOutputStream.java
  
  Co-authored-by: liach <7806504+liach at users.noreply.github.com>

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/14589/files
  - new: https://git.openjdk.org/jdk/pull/14589/files/c97cdfc2..4c98ddce

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=14589&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=14589&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/14589.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14589/head:pull/14589

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


More information about the core-libs-dev mailing list