RFR: 8247918: Clarify Reader.skip behavior for end of stream [v2]
Brian Burkhalter
bpb at openjdk.java.net
Fri Feb 12 01:18:53 UTC 2021
> Please review this clarification of the specification of the method `skip(long)` in `java.io.Reader` and its subclasses. Specifically, the behavior of the method is made clear for the case when the `Reader` is already at the end of its stream when the method is invoked. A corresponding CSR will be filed. Also, the change includes an update to an existing test in order to verify that the specification change reflects actual behavior.
Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
8247918: Change'ns' to 'n' in the skip doc
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/2274/files
- new: https://git.openjdk.java.net/jdk/pull/2274/files/0ebed6ea..2a2ceb41
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=2274&range=01
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=2274&range=00-01
Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
Patch: https://git.openjdk.java.net/jdk/pull/2274.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/2274/head:pull/2274
PR: https://git.openjdk.java.net/jdk/pull/2274
More information about the core-libs-dev
mailing list