Philippe Marschall
65c19c4094
4926314: Optimize Reader.read(CharBuffer)
...
Reviewed-by: alanb, bpb
2021-04-26 17:33:35 +00:00
Naoto Sato
bebfae48e3
8264208: Console charset API
...
Reviewed-by: joehw, rriggs, alanb
2021-04-23 18:57:03 +00:00
Erik Gahlin
4dcaac1feb
8265036: JFR: Remove use of -XX:StartFlightRecording= and -XX:FlightRecorderOptions=
...
Reviewed-by: cjplummer
2021-04-20 15:53:45 +00:00
Ioi Lam
78d1164ce2
8214455: Relocate CDS archived regions to the top of the G1 heap
...
Reviewed-by: tschatzl, ccheung
2021-04-08 00:41:28 +00:00
Stefan Karlsson
0fa35728a7
8264489: Add more logging to LargeCopyWithMark.java
...
Reviewed-by: kbarrett, alanb, bpb
2021-03-31 16:43:14 +00:00
Brian Burkhalter
7ffa1481c2
8247918: Clarify Reader.skip behavior for end of stream
...
Reviewed-by: rriggs, naoto
2021-02-19 17:21:11 +00:00
Chris Hegarty
3dc6f52a89
8261160: Add a deserialization JFR event
...
Co-authored-by: Sean Coffey <coffeys@openjdk.org>
Co-authored-by: Chris Hegarty <chegar@openjdk.org>
Reviewed-by: coffeys, rriggs, dfuchs, egahlin
2021-02-12 17:35:25 +00:00
Brian Burkhalter
143998e46c
8248383: Clarify java.io.Reader.read(char[], ...) behavior for full array
...
Reviewed-by: naoto, smarks, rriggs
2020-12-17 16:29:57 +00:00
Mahendra Chhipa
c859fb02f3
8249836: java/io/IOException/LastErrorString.java should have bug-id as 1st word in @ignore
...
Reviewed-by: iignatyev
2020-12-01 12:57:36 +00:00
Brian Burkhalter
727a69f537
8255969: Improve java/io/BufferedInputStream/LargeCopyWithMark.java using jtreg tags
...
Reviewed-by: naoto
2020-11-06 16:15:14 +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
Vicente Romero
8bde2f4e3d
8255013: implement Record Classes as a standard feature in Java, follow-up
...
Co-authored-by: Vicente Romero <vromero@openjdk.org>
Co-authored-by: Harold Seigel <hseigel@openjdk.org>
Co-authored-by: Chris Hegarty <chegar@openjdk.org>
Reviewed-by: jlahoda
2020-10-28 17:18:46 +00:00
Vicente Romero
1da28de82f
8255009: delta apply fixes for JDK-8246774 and JDK-8253455, pushed too soon
...
Reviewed-by: jlahoda
2020-10-19 15:55:54 +00:00
Vicente Romero
c17d58516f
8246774: implement Record Classes as a standard feature in Java
...
Co-authored-by: Vicente Romero <vromero@openjdk.org>
Co-authored-by: Harold Seigel <hseigel@openjdk.org>
Co-authored-by: Chris Hegarty <chegar@openjdk.org>
Reviewed-by: coleenp, jlahoda, sspitsyn, chegar
2020-10-18 18:54:33 +00:00
Chris Hegarty
aad3cf4df7
8254234: Add test library stream object builder
...
Reviewed-by: rriggs
2020-10-12 13:06:10 +00:00
Fernando Guallini
737ae7742a
8249699: java/io/ByteArrayOutputStream/MaxCapacity.java should use @requires instead of @ignore
...
Use @requires os.maxMemory in order to run the test only if memory requirements are satisfied as opposed to ignoring it
Reviewed-by: coffeys
2020-09-01 19:04:42 +01:00
Brian Burkhalter
a963aab1a8
8181919: Refactor test/java/io/File/GetXSpace.sh to java test
...
Reviewed-by: naoto
2020-08-14 08:12:13 -07:00
Brian Burkhalter
d0d925c13a
8251017: java/io/File/GetXSpace.java fails on UNIX
...
Reviewed-by: naoto
2020-08-10 10:25:17 -07:00
Brian Burkhalter
db1e207a72
8249703: test/jdk/java/io/File/GetXSpace.java fails on macos
...
Reviewed-by: naoto
2020-08-10 09:54:34 -07:00
Raffaello Giulietti
4ac45a3b50
8245036: DataInputStream.readFully(byte[], int, int) does not throw expected IndexOutOfBoundsExceptions
...
Reviewed-by: bpb
2020-08-07 12:58:40 -07:00
Brian Burkhalter
3ea5fdc9ac
8235792: LineNumberReader.getLineNumber() behavior is inconsistent with respect to EOF
...
Reviewed-by: alanb, darcy, rriggs
2020-08-05 11:40:07 -07:00
Igor Ignatyev
d5c4c292a0
6501010: test/java/io/File/GetXSpace.java fails on Windows
...
Reviewed-by: bpb
2020-07-30 19:39:44 -07:00
Mikael Vidstedt
9ff01f7b2f
Merge
2020-07-21 20:55:29 -07:00
Igor Ignatyev
8d97637cf2
8249700: java/io/File/GetXSpace.java should be added to exclude list, and not @ignore-d
...
Reviewed-by: alanb
2020-07-20 09:11:53 -07:00
Mikael Vidstedt
1982432db4
Merge
2020-07-14 23:29:45 -07:00
Roger Riggs
34fc33074a
8234836: Improve serialization handling
...
Reviewed-by: chegar, rhalade, skoivu
2020-04-16 10:33:44 -04:00
Chris Hegarty
c0c4a8d738
8248326: Add a minimal serialization test for local records
...
Reviewed-by: dfuchs
2020-06-26 14:55:09 +01:00
Peter Levart
2f09989ec0
8247532: Records deserialization is slow
...
8248135: Build microbenchmarks with --enable-preview
Test contributed by Chris Hegarty <chris.hegarty@oracle.com>
Reviewed-by: chegar, psandoz, redestad, ihse
2020-06-24 11:05:09 +02:00
Chris Hegarty
56048d0480
8247789: Remove use of reflection from test/jdk/java/io/Serializable/records/StreamRefTest.java
...
Reviewed-by: rriggs, mchung
2020-06-18 17:46:15 +01:00
Chris Hegarty
eec7750e55
8238763: ObjectInputStream readUnshared method handling of Records
...
Reviewed-by: rriggs
2020-06-03 15:46:53 +01:00
Mikael Vidstedt
071bd521bc
8244224: Implementation of JEP 381: Remove the Solaris and SPARC Ports
...
Reviewed-by: alanb, bchristi, dcubed, dfuchs, eosterlund, erikj, glaubitz, ihse, iignatyev, jjiang, kbarrett, ksrini, kvn, naoto, prr, rriggs, serb, sspitsyn, stefank, tschatzl, valeriep, weijun, weijun
2020-05-20 17:33:37 -07:00
Vicente Romero
9efdaacc31
8242478: compiler implementation for records (Second Preview)
...
Reviewed-by: mcimadamore, jlahoda, darcy
2020-05-17 11:09:52 -04:00
Stefan Karlsson
81597d9f8f
8244078: ProcessTools executeTestJvm and createJavaProcessBuilder have inconsistent handling of test.*.opts
...
Reviewed-by: dholmes, cjplummer
2020-05-04 21:20:39 +02:00
Vicente Romero
78a0baa57c
8241627: Updating ASM to 8.0.1 for JDK 15
...
Co-authored-by: Igor Ignatyev <igor.ignatyev@oracle.com>
Reviewed-by: psandoz, chegar
2020-04-21 21:25:26 -04:00
Chris Hegarty
c6b22388b7
8241921: Remove leftover diagnostic from test/jdk/java/io/Serializable/records/SerialPersistentFieldsTest.java
...
Reviewed-by: lancea
2020-04-02 12:33:53 +01:00
Mikael Vidstedt
3318314c7c
8237589: Fix copyright header formatting
...
Reviewed-by: jjg, serb, iris, jwilhelm
2020-01-21 14:23:01 -08:00
Igor Ignatyev
e2240b714e
8236111: narrow allowSmartActionArgs disabling
...
Reviewed-by: dholmes, mullan, darcy, rriggs
2020-01-15 21:20:40 -08:00
Brian Burkhalter
40d0110ac6
8237186: Fix typo in copyright header of java/io/Reader/TransferTo.java
...
Reviewed-by: mchung, lancea, prappo
2020-01-15 08:21:07 -08:00
Roger Riggs
24a7ba0c61
8231422: Setting JEP 290 Filter via System Property May Be Ignored
...
Reviewed-by: smarks, rhalade
2019-10-15 09:52:44 -04:00
Brian Burkhalter
7cdecd8981
8235668: LineNumberReader#getLineNumber() returns wrong line number (one fewer) in Lucene test
...
Reviewed-by: alanb, rriggs
2019-12-12 13:43:07 -08:00
Chris Hegarty
dadaffbbeb
8235531: Update record serialization migration tests to not use hard coded source versions
...
Reviewed-by: darcy
2019-12-10 19:10:14 +00:00
Joe Darcy
e1921502c5
8235514: Update record serialization tests to not use hard coded source versions
...
Reviewed-by: lancea
2019-12-06 13:32:46 -08:00
Vicente Romero
827e5e3226
8225054: Compiler implementation for records
...
8225052: javax.lang.model support for records
8225053: Preview APIs support for records
8225055: Javadoc for records
8226314: com.sun.source support for records
8227113: Specification for java.lang.Record
8233526: JVM support for records
Implement records in the compiler and the JVM, including serialization, reflection and APIs support
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Joe Darcy <joe.darcy@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Reviewed-by: mcimadamore, briangoetz, alanb, darcy, chegar, jrose, jlahoda, coleenp, dholmes, lfoltan, mchung, sadayapalam, hannesw, sspitsyn
2019-12-04 15:57:39 -05:00
Ivan Gerasimov
31afddccae
8230407: SocketPermission and FilePermission action list allows leading comma
...
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Reviewed-by: chegar
2019-10-16 14:32:17 -07:00
Roger Riggs
942402bab8
8231427: Warning cleanup in tests of java.io.Serializable
...
Reviewed-by: darcy, lancea
2019-10-11 13:11:56 -04:00
Brian Burkhalter
17c057bd76
8229333: java/io/File/SetLastModified.java timed out
...
Reviewed-by: lancea, rriggs
2019-10-01 07:37:39 -07:00
Brian Burkhalter
4285853d91
8230342: LineNumberReader.getLineNumber() returns inconsistent results after EOF
...
Reviewed-by: rriggs, dfuchs
2019-09-11 12:32:01 -07:00
Brian Burkhalter
4d70cdac4f
8187898: PrintStream should override FilterOutputStream#write(byte[]) with a method that has no throws clause
...
Reviewed-by: alanb, rriggs, lancea, darcy
2019-09-05 16:26:53 -07:00
Brian Burkhalter
62c2d1fbd9
8078891: java.io.SequenceInputStream.close is not atomic and not idempotent
...
Reviewed-by: prappo, dfuchs, alanb
2019-07-29 09:09:23 -07:00
Brian Burkhalter
ba9c952f87
8228392: Backout incorrect change done by JDK-8067801
...
Reviewed-by: lancea
2019-07-18 17:10:33 -07:00
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