mirror of https://github.com/sbt/sbt.git
When the read methods of InputStream that take an Array[Byte] as input are called, they are supposed to return -1 if there are no bytes available due to an EOF. Previously it was incorrectly writing the -1 as a byte in the array and returning 1. Now it correctly returns -1. The condition for closing the WriteableInputStream was also incorrect. We should only close the input stream if it returns -1 in raw mode. Fixes #5999 |
||
|---|---|---|
| .. | ||
| util-collection | ||
| util-complete | ||
| util-control | ||
| util-interface/src/main/java/xsbti | ||
| util-logging | ||
| util-logic/src | ||
| util-position/src | ||
| util-relation/src | ||
| util-scripted/src/main | ||