228 Commits

Author SHA1 Message Date
Jesper Wilhelmsson
4395578b6f Merge 2023-01-09 23:31:32 +00:00
Naoto Sato
d49851a8b8 8299689: Make use of JLine for Console as "opt-in"
Reviewed-by: jpai, alanb
2023-01-09 18:23:42 +00:00
Sergey Tsypanov
d086e82b3c 8299600: Use Objects.check*() where appropriate in java.io
Reviewed-by: alanb, bpb
2023-01-06 21:01:21 +00:00
Markus KARG
3dcf700161 8299336: InputStream::DEFAULT_BUFFER_SIZE should be 16384
Reviewed-by: bpb
2023-01-06 17:35:17 +00:00
Naoto Sato
7e59a0ecb6 8298971: Move Console implementation into jdk internal package
Reviewed-by: jpai
2022-12-21 18:09:21 +00:00
Jesper Wilhelmsson
c5a4a7a679 Merge 2022-12-20 11:40:56 +00:00
Roger Riggs
d0a7679d2e 4958969: ObjectOutputStream example leads to non-working code
Reviewed-by: lancea, naoto
2022-12-19 23:10:30 +00:00
Per Minborg
7938f8c32a 8298639: Perform I/O operations in bulk for RandomAccessFile
Co-authored-by: Sergey Tsypanov <stsypanov@openjdk.org>
Reviewed-by: alanb, bpb
2022-12-18 20:25:42 +00:00
Naoto Sato
0ef353925e 8298416: Console should be declared sealed
Reviewed-by: jpai, alanb
2022-12-15 19:20:12 +00:00
Per Minborg
81f57d568f 8298567: Make field in RandomAccessFile final
Reviewed-by: rriggs, chegar
2022-12-12 17:06:34 +00:00
Naoto Sato
8a9911ef17 8295803: Console should be usable in jshell and other environments
Reviewed-by: jlaskey, alanb
2022-12-07 20:49:29 +00:00
Markus KARG
389b8f4b78 8297298: SequenceInputStream should override transferTo
Reviewed-by: bpb
2022-12-07 16:29:43 +00:00
Weibing Xiao
8df3bc4ec5 8290313: Produce warning when user specified java.io.tmpdir directory doesn't exist
Reviewed-by: rriggs, naoto, coffeys
2022-11-23 17:10:05 +00:00
Markus Karg
069685489a 8297299: SequenceInputStream should not use Vector
Reviewed-by: alanb, jpai
2022-11-22 05:04:40 +00:00
Markus Karg
95b84050fc 8296431: PushbackInputStream should override transferTo
Reviewed-by: bpb
2022-11-14 18:03:18 +00:00
Markus Karg
581133a0c8 8294696: BufferedInputStream.transferTo should drain buffer when mark set
Reviewed-by: bpb, alanb
2022-11-04 21:07:59 +00:00
Daniel Fuchs
4338f527aa 8294241: Deprecate URL public constructors
Reviewed-by: joehw, prr, alanb, aefimov, michaelm
2022-11-03 17:18:14 +00:00
Brian Burkhalter
4999f2cb16 8156593: DataOutput.write(byte[],int,int) and its implementations do not specify index out bounds
Reviewed-by: alanb, aturbanov
2022-10-31 22:18:26 +00:00
Sergey Tsypanov
74a51ccc86 8292698: Improve performance of DataInputStream
Reviewed-by: dfuchs
2022-10-17 04:41:12 +00:00
Roger Riggs
2087424736 8295370: Update java.io.ObjectStreamField to use Class.descriptorString
Reviewed-by: bpb, mchung
2022-10-14 23:45:03 +00:00
Markus Karg
619cd825b5 8294702: BufferedInputStream uses undefined value range for markpos
Reviewed-by: alanb, bpb
2022-10-11 16:07:31 +00:00
Andrey Turbanov
375f02fb21 8294608: Remove redundant unchecked suppression in FileDescriptor
Reviewed-by: alanb, bpb
2022-09-30 20:19:45 +00:00
Markus Karg
7515b304ca 8279283: BufferedInputStream should override transferTo
Reviewed-by: bpb
2022-09-28 15:58:25 +00:00
Alan Bateman
acd5bcfc88 8289610: Degrade Thread.stop
Reviewed-by: rriggs, cjplummer, jpai, mchung, prr, mullan
2022-09-23 07:55:29 +00:00
XenoAmess
e01cd7c3ed 8284780: Need methods to create pre-sized HashSet and LinkedHashSet
Reviewed-by: naoto, bpb, dfuchs, ascarpino
2022-06-09 01:50:54 +00:00
Joe Darcy
8e602b862d 8286783: Expand use of @inheritDoc in InputStream and OutputStream subclasses
Reviewed-by: alanb
2022-05-17 16:14:28 +00:00
Brian Burkhalter
dbd3737085 8286200: SequenceInputStream::read(b, off, 0) returns -1 at EOF
Reviewed-by: rriggs
2022-05-16 15:42:29 +00:00
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
Roger Riggs
17c52789b7 8286378: Address possibly lossy conversions in java.base
Reviewed-by: naoto, xuelei, bpb, alanb
2022-05-12 16:50:36 +00:00
Alan Bateman
9583e3657e 8284161: Implementation of Virtual Threads (Preview)
Co-authored-by: Ron Pressler <rpressler@openjdk.org>
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Co-authored-by: Erik Österlund <eosterlund@openjdk.org>
Co-authored-by: Andrew Haley <aph@openjdk.org>
Co-authored-by: Rickard Bäckman <rbackman@openjdk.org>
Co-authored-by: Markus Grönlund <mgronlun@openjdk.org>
Co-authored-by: Leonid Mesnik <lmesnik@openjdk.org>
Co-authored-by: Serguei Spitsyn <sspitsyn@openjdk.org>
Co-authored-by: Chris Plummer <cjplummer@openjdk.org>
Co-authored-by: Coleen Phillimore <coleenp@openjdk.org>
Co-authored-by: Robbin Ehn <rehn@openjdk.org>
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Co-authored-by: Thomas Schatzl <tschatzl@openjdk.org>
Co-authored-by: Sergey Kuksenko <skuksenko@openjdk.org>
Reviewed-by: lancea, eosterlund, rehn, sspitsyn, stefank, tschatzl, dfuchs, lmesnik, dcubed, kevinw, amenkov, dlong, mchung, psandoz, bpb, coleenp, smarks, egahlin, mseledtsov, coffeys, darcy
2022-05-07 08:06:16 +00:00
Brian Burkhalter
9d8c3bf9f8 8285745: Re-examine PushbackInputStream mark/reset
Reviewed-by: jpai, alanb
2022-05-02 18:19:36 +00:00
Naoto Sato
03bcf7b6d1 8283620: System.out does not use the encoding/charset specified in the Javadoc
Reviewed-by: alanb
2022-04-26 16:05:20 +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
Brian Burkhalter
395bb5b7f9 8278356: Improve file creation
Reviewed-by: alanb, rhalade
2022-04-19 22:18:33 +00:00
Brian Burkhalter
f76f5da016 5087440: java.io bulk read(...) end-of-stream return value descriptions ambiguous
Reviewed-by: rriggs, lancea
2022-04-04 18:54:36 +00:00
Stuart Marks
ae57258b46 8283715: Update ObjectStreamClass to be final
Reviewed-by: darcy, jpai, mchung, dfuchs
2022-03-30 15:50:31 +00:00
Brian Burkhalter
13cebffe61 8058924: FileReader(String) documentation is insufficient
Reviewed-by: naoto, lancea
2022-03-14 16:10:15 +00:00
Brian Burkhalter
b13cacc575 8254574: PrintWriter handling of InterruptedIOException should be removed
Reviewed-by: alanb
2022-03-10 18:25:53 +00:00
Matteo Baccan
ccad39237a 8282657: Code cleanup: removing double semicolons at the end of lines
Reviewed-by: lancea, rriggs, ihse, prr, iris, wetmore, darcy, dholmes
2022-03-07 21:33:40 +00:00
Joe Darcy
104e3cb24b 8282696: Add constructors taking a cause to InvalidObjectException and InvalidClassException
Reviewed-by: lancea
2022-03-07 14:47:52 +00:00
Andrey Turbanov
622970e47c 8281728: Redundant null check in LineNumberInputStream.read
Reviewed-by: redestad
2022-02-15 07:10:10 +00:00
Joe Darcy
9ca7ff3e4f 8281082: Improve javadoc references to JOSS
Reviewed-by: iris, rriggs, naoto, lancea
2022-02-01 22:30:08 +00:00
Roger Riggs
fdd9ca74bd 8280642: ObjectInputStream.readObject should throw InvalidClassException instead of IllegalAccessError
Reviewed-by: naoto, mchung
2022-02-01 20:13:14 +00:00
Joe Darcy
4dbebb62aa 8280534: Enable compile-time doclint reference checking
Reviewed-by: serb, naoto, mchung, lancea, iris
2022-01-31 23:22:38 +00:00
Aleksey Shipilev
cebaad1c94 8280041: Retry loop issues in java.io.ClassCache
Co-authored-by: Peter Levart <plevart@openjdk.org>
Reviewed-by: rkennke, rriggs, plevart
2022-01-25 19:22:07 +00:00
Joe Darcy
8e82d0021c 8280492: Use cross-module syntax for cross-module links
Reviewed-by: iris, serb, lancea, dfuchs, aivanov
2022-01-24 20:16:38 +00:00
Jesper Wilhelmsson
4616c13c2f Merge 2022-01-20 01:18:38 +00:00
Roger Riggs
3adc111766 8272236: Improve serial forms for transport
Reviewed-by: bchristi, rhalade, smarks
2022-01-18 23:35:34 +00:00
Roger Riggs
feff0e5578 8264934: Enhance cross VM serialization
Reviewed-by: smarks, rhalade, chegar
2022-01-18 23:35:32 +00:00
Pavel Rappo
f180530935 8279918: Fix various doc typos
Reviewed-by: kevinw, lancea, mullan, sspitsyn, naoto, jlahoda, azvegint, egahlin, jjg
2022-01-14 16:10:14 +00:00