Commit Graph

187 Commits

Author SHA1 Message Date
Brian Burkhalter
2c59ffda98 8228204: Fix for JDK-8067801 breaks java/io/NegativeInitSize.java
Reviewed-by: lancea
2019-07-17 15:12:30 -07:00
Brian Burkhalter
a7016e3b5d 8067801: Enforce null check for underlying I/O streams
Reviewed-by: lancea
2019-07-17 14:24:37 -07:00
Andrey Turbanov
9eda28e6ea 6394787: Typos in javadoc of OIS.readObjectOverride and OOS.writeObjectOverride
Reviewed-by: alanb, chegar
2019-06-04 15:52:26 +01:00
Brian Burkhalter
27f95e7553 8223254: DataOutputStream/WriteUTF.java fails due to "OutOfMemoryError: Java heap space"
Reviewed-by: lancea, rriggs
2019-05-02 14:15:09 -07:00
Brian Burkhalter
daa6cc9267 8218280: LineNumberReader throws "Mark invalid" exception if CRLF straddles buffer
Reviewed-by: dfuchs, prappo
2019-04-29 07:39:16 -07:00
Brian Burkhalter
8d5cea62b2 8221568: DataOutputStream/WriteUTF.java fails due to "OutOfMemoryError: Java heap space"
Reviewed-by: shade
2019-03-27 16:35:25 -07:00
Martin Buchholz
df4f28c041 8219196: DataOutputStream.writeUTF may throw unexpected exceptions
Reviewed-by: martin, darcy, rriggs
2019-03-27 07:21:18 -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
Mandy Chung
9ffe7e1205 8211122: Reduce the number of internal classes made accessible to jdk.unsupported
Reviewed-by: alanb, dfuchs, kvn
2018-11-06 10:01:16 -08:00
Roger Riggs
8dd0b1f061 8192939: Remove Finalize methods from FileInputStream and FileOutputStream
Reviewed-by: alanb, iris, mchung
2018-10-16 10:55:28 -04:00
Igor Ignatyev
ab8c7f710c 8211171: move JarUtils to top-level testlibrary
Reviewed-by: alanb
2018-10-01 14:54:46 -07:00
Igor Ignatyev
21a0458422 8210112: remove jdk.testlibrary.ProcessTools
Reviewed-by: alanb, sspitsyn, jcbeyler
2018-09-07 14:01:52 -07:00
Ivan Gerasimov
8774d70044 8204310: Simpler RandomAccessFile.setLength() on Windows
Reviewed-by: alanb
2018-06-29 17:35:04 -07:00
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