mirror of
https://github.com/sbt/sbt.git
synced 2026-08-29 09:30:21 +02:00
This protects against deadlocks between the writing and reading end, since the ObjectOutputStream constructor writes a header, but does not flush, and the ObjectInputStream constructor reads the header, and blocks until it's read.