Commit Graph

167 Commits

Author SHA1 Message Date
Brian Burkhalter
6670f60a21 8180410: ByteArrayOutputStream should not throw IOExceptions
Add ByteArrayOutputStream.writeBytes()

Reviewed-by: rriggs, smarks
2018-03-23 15:05:43 -07:00
Brian Burkhalter
68cf42d465 8180451: ByteArrayInputStream should override readAllBytes, readNBytes, and transferTo
Reviewed-by: bchristi, rriggs, psandoz
2018-03-23 10:09:45 -07:00
Patrick Reinhart
4c7f1ac52c 8196298: Add null Reader and Writer
Reviewed-by: bpb, forax, smarks, alanb, rriggs
2018-03-19 09:58:41 -04:00
Joe Wang
e5a5c2a832 8183554: Add constructors with Charset parameter for FileReader and FileWriter
Reviewed-by: alanb, rriggs, smarks
2018-03-15 14:54:10 -07:00
Roger Riggs
cfe9ad4608 8189330: Cleanup FileDescriptor implementation
Reviewed-by: bpb
2018-02-23 14:26:29 -05:00
Yumin Qi
4ea684bf31 8194154: System property user.dir should not be changed
Cached user.dir so getCanonicalPath uses the cached value.

Reviewed-by: alanb, bpb, rriggs
2018-02-21 14:23:45 -08: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
Lana Steuck
aad1a3592c Merge 2018-01-16 22:24:20 +00:00
Roger Riggs
99853dbf51 8194929: Unreferenced FileDescriptors not closed
Reviewed-by: alanb
2018-01-16 10:48:58 -05: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
Joe Wang
4f080a83af 8183743: Umbrella: add overloads that take a Charset parameter
Reviewed-by: alanb, rriggs
2017-12-12 11:10:12 -08:00
Roger Riggs
f29e21abb1 8080225: FileInput/OutputStream/FileChannel cleanup should be improved
Reviewed-by: mchung, plevart, bpb
2017-12-01 16:40:08 -05:00
Patrick Reinhart
5eafe731b0 8191706: Add Reader::transferTo(Writer)
Reviewed-by: alanb, bpb, briangoetz
2017-12-06 14:39:15 -08:00
Roger Riggs
2321c5b86c 8189331: java/io/Serializable/maskSyntheticModifier/MaskSyntheticModifierTest.java failed incorrect serialVersionUID
Reviewed-by: lancea
2017-11-30 16:38:31 -05:00
Stuart Marks
7d547d0ee4 8174109: Better queuing priorities
Reviewed-by: chegar, dfuchs, rriggs, alanb, robm, rhalade, jeff, ahgross
2017-08-02 10:34:35 -07:00
Erik Joelsson
3789983e89 8187443: Forest Consolidation: Move files to unified layout
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00