136 Commits

Author SHA1 Message Date
Brian Burkhalter
5f15666092 8266078: Reader.read(CharBuffer) advances Reader position for read-only Charbuffers
Reviewed-by: rriggs, alanb, chegar
2021-04-29 15:54:11 +00:00
Brian Burkhalter
2a03739530 8266014: Regression brought by optimization done with JDK-4926314
Reviewed-by: alanb, naoto
2021-04-29 15:35:14 +00:00
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
Brian Burkhalter
2fcd920adc 8261183: Follow on to Make lists of normal filenames
Reviewed-by: alanb, rriggs, rhalade
2021-04-20 21:45:53 +00:00
Brian Burkhalter
4471789aca 8253799: Make lists of normal filenames
Reviewed-by: alanb, rhalade
2021-04-20 21:45:52 +00:00
Brian Burkhalter
e89fd15189 8261301: StringWriter.flush() is NOOP but documentation does not indicate it
Reviewed-by: naoto, rriggs
2021-04-15 20:19:40 +00:00
Joe Darcy
815248ab27 8264148: Update spec for exceptions retrofitted for exception chaining
Reviewed-by: rriggs, smarks
2021-03-30 19:59:59 +00:00
Brian Burkhalter
d7268fa3a6 8251942: PrintStream specification is not clear which flush method is automatically invoked
Reviewed-by: dfuchs, alanb
2021-03-23 16:06:21 +00:00
Alex Blewitt
b49c589340 8263658: Use the blessed modifier order in java.base
Reviewed-by: rriggs, redestad
2021-03-19 13:06:58 +00:00
Sergey Tsypanov
c0176c42dc 8263552: Use String.valueOf() for char-to-String conversions
Reviewed-by: redestad, vtewari, azvegint, chegar
2021-03-15 11:18:59 +00:00
Patrick Concannon
0f2402d0a2 8263190: Update java.io, java.math, and java.text to use instanceof pattern variable
Reviewed-by: lancea, bpb, darcy, naoto, iris, dfuchs, smarks, redestad
2021-03-09 11:09:06 +00:00
Brian Burkhalter
5a9b70103c 8258444: Clean up specifications of java.io.Reader.read(char[],int,int) in subclass overrides
Reviewed-by: alanb, rriggs
2021-02-25 16:22:59 +00:00
Julia Boes
e9d7c07bda 8248318: Remove superfluous use of boxing in ObjectStreamClass
Reviewed-by: jlaskey, dfuchs, rriggs, chegar
2021-02-22 10:32: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
Brian Burkhalter
851b2e31e1 6245663: (spec) File.renameTo(File) changes the file-system object, not the File instance
Reviewed-by: rriggs, naoto, alanb
2021-02-19 16:35:53 +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
Hamlin Li
c52c6c66db 8260273: DataOutputStream writeChars optimization
Reviewed-by: rriggs, bpb, alanb
2021-01-25 01:05:40 +00:00
Andrey Turbanov
022bc9f0cb 8258422: Cleanup unnecessary null comparison before instanceof check in java.base
Reviewed-by: chegar, aefimov
2021-01-11 23:30:44 +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
Brent Christian
b2f035549a 8253497: Core Libs Terminology Refresh
Reviewed-by: naoto, kcr, rriggs, joehw, bpb, smarks, alanb
2020-12-16 23:09:20 +00:00
Julia Boes
d05401d886 8256679: Update serialization javadoc once JOSS changes for records are complete
Reviewed-by: chegar, rriggs
2020-12-07 09:30:52 +00:00
Mandy Chung
972bc3b408 8256167: Convert JDK use of Reference::get to Reference::refersTo
Reviewed-by: sspitsyn, shade, dfuchs, alanb, kbarrett
2020-12-06 00:08:22 +00:00
Brian Burkhalter
e27ea4d12c 8257750: writeBuffer field of java.io.DataOutputStream should be final
Reviewed-by: lancea, naoto
2020-12-04 20:32:07 +00:00
Brian Burkhalter
c5046ca5b3 8246739: InputStream.skipNBytes could be implemented more efficiently
Reviewed-by: rriggs, lancea, naoto
2020-12-01 20:07:53 +00:00
Roger Riggs
bd14274b1b 8256480: Refactor ObjectInputStream field reader implementation
Reviewed-by: bchristi
2020-11-24 17:04:08 +00:00
Conor Cleary
be6c89366f 8256183: InputStream.skipNBytes is missing @since 12
Reviewed-by: dfuchs, lancea, bpb
2020-11-20 20:11:48 +00:00
Stuart Marks
cc0ed401ec 8037384: Fix wording in Javadoc of java.io.Serializable
8231547: Serializable class doc should link to serialization specification

Reviewed-by: rriggs, iris, chegar
2020-11-20 18:26:38 +00:00
Andrew Haley
17f04fc9e7 8254078: DataOutputStream is very slow post-disabling of Biased Locking
Reviewed-by: rriggs, shade, alanb
2020-11-09 16:02:30 +00:00
Pavel Rappo
c5462bb95d 8255989: Remove explicitly unascribed authorship from Java source files
Reviewed-by: redestad, mr, mchung, iris, serb
2020-11-07 12:11:43 +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
Jonathan Gibbons
0aa3c92577 8255262: Remove use of legacy custom @spec tag
Reviewed-by: lancea, mr, iris, alanb, darcy, mchung
2020-10-22 19:42:01 +00:00
Roger Riggs
0d35235723 8249927: Specify limits of jdk.serialProxyInterfaceLimit
corrections to limits defined by 8236862 implemented by 8248183

Reviewed-by: smarks, rhalade, skoivu
2020-10-20 14:58:39 -07:00
Roger Riggs
036da9950b 8236862: Enhance support of Proxy class
Reviewed-by: smarks, chegar, skoivu, rhalade
2020-10-20 14:58:39 -07:00
Brian Burkhalter
db3053dcd1 8067127: Tags cleanup
Reviewed-by: rriggs, dfuchs, lancea
2020-10-07 17:16:04 +00:00
Roger Riggs
afce1f4ebd 8251203: Fix "no comment" warnings in java.base/java.lang and java/io
Reviewed-by: dfuchs, lancea, mchung, naoto
2020-08-25 10:20:14 -04: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
Mark Reinhold
55039aa1c6 8249205: Remove unnecessary trademark symbols
Reviewed-by: darcy, lancea, bpb, prr, jjg, cjplummer, iris, dfuchs, weijun, joehw, wetmore, bchristi
2020-07-15 14:21:54 -07:00
Roger Riggs
34fc33074a 8234836: Improve serialization handling
Reviewed-by: chegar, rhalade, skoivu
2020-04-16 10:33:44 -04:00
Chris Hegarty
42d3bad0b1 8248233: Avoid superfluous Class::isRecord invocations during deserialization
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: redestad, plevart
2020-06-25 09:54:19 +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
Jonathan Gibbons
510354452f 8247896: Invalid (@throw) tags in 2 java.io classes
Reviewed-by: mchung
2020-06-18 16:21:34 -07:00
Claes Redestad
9cd41b6555 8246592: Simplify checking of boolean file attributes
Reviewed-by: rriggs, alanb
2020-06-08 22:47:16 +02:00
Chris Hegarty
eec7750e55 8238763: ObjectInputStream readUnshared method handling of Records
Reviewed-by: rriggs
2020-06-03 15:46:53 +01:00
Vicente Romero
9efdaacc31 8242478: compiler implementation for records (Second Preview)
Reviewed-by: mcimadamore, jlahoda, darcy
2020-05-17 11:09:52 -04:00
Henry Jen
0278846eaa Merge 2020-04-14 23:11:49 +00:00
Pavel Rappo
4c4271f283 8242230: Whitespace typos, relaxed javadoc, formatting
Reviewed-by: darcy, igerasim
2020-04-08 11:16:56 +01:00
Ivan Gerasimov
b0e1ee4b3b 8241727: Typos: empty lines in javadoc, inconsistent indents, etc. (core-libs only)
Reviewed-by: prappo
2020-03-28 21:07:55 -07:00
Pavel Rappo
17ff85d4ad 8241014: Miscellaneous typos in documentation comments
Reviewed-by: igerasim, prappo, psandoz, rriggs, weijun
2020-03-20 20:54:56 +00:00