Commit Graph

24 Commits

Author SHA1 Message Date
Patrick Reinhart
f44956330d 8204930: Reader:nullReader() spec does not match the behavior
Reviewed-by: bpb, rriggs
2018-06-25 14:36:16 -07:00
Roger Riggs
49396d51e9 8202292: java/io/FileOutputStream/UnreferencedFOSClosesFd.java fails with "raw fd count wrong"
Reviewed-by: bpb, mchung
2018-06-22 16:06:43 -04:00
Roger Riggs
474a1253bb 8203368: ObjectInputStream filterCheck method throws NullPointerException
Reviewed-by: bpb, smarks
2018-05-25 13:29:25 -04:00
Brian Burkhalter
5c90486c43 8202290: AtomicAppend tests fail on macOS 10.13 ("High Sierra")
Reinstate actual running of tests for macOS version >= 10.13.

Reviewed-by: alanb
2018-05-25 07:22:37 -07:00
Brian Burkhalter
c9e23b5e71 8202076: test/jdk/java/io/File/WinSpecialFiles.java on windows with VS2017
If all other means to obtain the file length fail, fall back to FindFirstFile

Reviewed-by: igerasim, alanb
2018-05-22 16:19:31 -07:00
Brian Burkhalter
cdd3f0ac39 8202284: FileChannel and FileOutpuStream variants of AtomicAppend should fail silently on macOS >= 10.13
Reviewed-by: chegar
2018-04-30 13:40:39 -07:00
Brian Burkhalter
dee3c23d5b 8200449: ReadAllReadNTransferTo fails occasionally
Don't pass a non-positive parameter to Random.nextInt(int).

Reviewed-by: chegar
2018-03-29 12:38:47 -07:00
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