18 Commits

Author SHA1 Message Date
Joe Darcy
1e843c3d4f 8286604: Update InputStream and OutputStream to use @implSpec
Reviewed-by: bpb, lancea, iris, alanb
2022-05-13 16:57:11 +00:00
Brian Burkhalter
a3b788144e 8284930: Re-examine FilterInputStream mark/reset
Reviewed-by: alanb, jpai, dfuchs, lancea
2022-04-26 15:35:45 +00:00
Claes Redestad
30b0f820ce 8272626: Avoid C-style array declarations in java.*
Reviewed-by: dfuchs, alanb
2021-08-18 10:47:03 +00:00
Brian Burkhalter
da4dfde71a 8264777: Overload optimized FileInputStream::readAllBytes
Reviewed-by: dfuchs, alanb
2021-05-17 19:58:41 +00:00
Brian Burkhalter
c5046ca5b3 8246739: InputStream.skipNBytes could be implemented more efficiently
Reviewed-by: rriggs, lancea, naoto
2020-12-01 20:07:53 +00:00
Conor Cleary
be6c89366f 8256183: InputStream.skipNBytes is missing @since 12
Reviewed-by: dfuchs, lancea, bpb
2020-11-20 20:11:48 +00:00
Brian Burkhalter
c287170c94 8254742: InputStream::readNBytes(int) result may contain zeros not in input
Reviewed-by: shade, bchristi
2020-11-04 16:50:02 +00:00
Julia Boes
d15a57b842 8231186: Replace html tag <code>foo</code> with javadoc tag {@code foo} in java.base
Minor coding style update of javadoc tag in any file in java.base

Reviewed-by: bchristi, lancea
2019-09-24 09:43:43 +01:00
Julia Boes
b15b322cf3 8230648: Replace @exception tag with @throws in java.base
Minor coding style update of javadoc tag in any file in java.base

Reviewed-by: prappo, lancea
2019-09-20 11:07:52 +01:00
Joe Darcy
10f1f10f2e 8230723: Remove default constructors from java.lang and java.io
Reviewed-by: bpb, rriggs
2019-09-09 10:13:42 -07:00
Brian Burkhalter
954c66afed 8078860: (spec) InputStream.read(byte[] b, int off, int len) claims to not affect element b[off]
Reviewed-by: lancea, darcy, rriggs
2019-03-22 08:18:26 -07:00
Brian Burkhalter
4a028afe5e 6516099: InputStream.skipFully(int k) to skip exactly k bytes
Reviewed-by: rriggs, bchristi, serb, dfuchs
2018-12-05 15:58:46 -08:00
Brian Burkhalter
516fa74ca5 8182684: Further clarify InputStream#available()
Reviewed-by: alanb, rriggs
2018-03-13 12:24:39 -07:00
Brian Burkhalter
697c3fc073 8139206: Add InputStream readNBytes(int len)
Reviewed-by: alanb, chegar, plevart, apetcher, rriggs, weijun
2018-02-01 09:40:38 -08:00
Brian Burkhalter
49beab63c8 4358774: Add null InputStream and OutputStream
Reviewed-by: alanb, prappo, reinhapa, rriggs
2018-01-12 11:06:24 -08:00
Brian Burkhalter
1209c4bcb3 8193832: Performance of InputStream.readAllBytes() could be improved
Read into a list of fixed-size buffers which are gathered at the end

Reviewed-by: alanb, chegar, plevart, jrose, psandoz
2017-12-22 14:00:03 -08:00
Brian Burkhalter
adb156a9b2 8191516: OutputStream.write(byte[],int,int) could have fewer parameter bounds checks
Reduce parameter bounds checks from five to three as in InputStream::read

Reviewed-by: psandoz
2017-11-22 08:12:45 -08:00
Erik Joelsson
3789983e89 8187443: Forest Consolidation: Move files to unified layout
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00