-
Notifications
You must be signed in to change notification settings - Fork 148
6766844: ByteArrayInputStream#read with a byte array of length 0 not consistent with InputStream when at EOF #189
Conversation
…consistent with InputStream when at EOF
This PR supersedes PR 4591. |
👋 Welcome back bpb! A progress list of the required criteria for merging this PR into |
Webrevs
|
/csr |
@bplb the issue for this pull request, JDK-6766844, already has an approved CSR request: JDK-8269399 |
test/jdk/java/io/ByteArrayInputStream/ReadAllReadNTransferTo.java
Outdated
Show resolved
Hide resolved
@bplb This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 70 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. ➡️ To integrate this PR with the above commit message to the |
/integrate |
Going to push as commit f46a917.
Your commit was automatically rebased without conflicts. |
Modify the specification of
java.io.ByteArrayInputStream#read(byte[],int,int)
to indicate that-1
is returned instead of0
when the stream is at its end and the third parameter,len
, is zero.Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk17 pull/189/head:pull/189
$ git checkout pull/189
Update a local copy of the PR:
$ git checkout pull/189
$ git pull https://git.openjdk.java.net/jdk17 pull/189/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 189
View PR using the GUI difftool:
$ git pr show -t 189
Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jdk17/pull/189.diff