Joe Darcy
7bf0d1465e
8300133: Use generalized see and link tags in core libs
...
Reviewed-by: jjg, mchung, naoto, smarks
2023-01-18 18:54:03 +00:00
Sergey Tsypanov
c6156f9123
8297561: Redundant index check in String.offsetByCodePoints()
...
Reviewed-by: aturbanov, rriggs, redestad
2022-12-01 15:28:39 +00:00
Sergey Tsypanov
efed7a7f65
8289908: Skip bounds check for cases when String is constructed from entirely used byte[]
...
Reviewed-by: prr, rriggs, aturbanov
2022-07-18 17:15:46 +00:00
Naoto Sato
2728770e3d
8288589: Files.readString ignores encoding errors for UTF-16
...
Reviewed-by: rriggs, iris, alanb
2022-06-23 15:49:43 +00:00
Naoto Sato
6fb84e2c91
8287541: Files.writeString fails to throw IOException for charset "windows-1252"
...
Reviewed-by: iris, bpb, alanb, jpai, lancea, aturbanov
2022-06-08 15:50:06 +00:00
Naoto Sato
cc7560e995
8286287: Reading file as UTF-16 causes Error which "shouldn't happen"
...
Reviewed-by: jpai, bpb, rriggs
2022-05-12 15:58:19 +00:00
Magnus Ihse Bursie
fb469fb894
8284893: Fix typos in java.base
...
Reviewed-by: iris, wetmore, lancea, mullan, naoto
2022-04-19 20:07:57 +00:00
Xin Liu
bab431cc12
8282429: StringBuilder/StringBuffer.toString() skip compressing for UTF16 strings
...
Reviewed-by: djelinski, redestad
2022-04-01 04:42:03 +00:00
Claes Redestad
002e366744
8283325: US_ASCII decoder relies on String.decodeASCII being exhaustive
...
Reviewed-by: rriggs, dcubed
2022-03-17 21:15:36 +00:00
Claes Redestad
beedae1141
8281146: Replace StringCoding.hasNegatives with countPositives
...
Co-authored-by: Lutz Schmidt <lucy@openjdk.org>
Co-authored-by: Martin Doerr <mdoerr@openjdk.org>
Reviewed-by: kvn, lucy, rriggs
2022-03-17 09:20:24 +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
Claes Redestad
e314a4cfda
8280124: Reduce branches decoding latin-1 chars from UTF-8 encoded bytes
...
Reviewed-by: rriggs, alanb, naoto
2022-01-18 19:28:12 +00:00
Claes Redestad
c3d0a94040
8279833: Loop optimization issue in String.encodeUTF8_UTF16
...
Reviewed-by: shade, alanb
2022-01-11 14:49:03 +00:00
Petr Portnov
e30e676709
8277606: String(String) constructor could copy hashIsZero
...
Reviewed-by: redestad, rriggs
2021-11-30 20:50:13 +00:00
Pavel Rappo
bf4ddf9cb7
8276338: Minor improve of wording for String.to(Lower|Upper)Case
...
Reviewed-by: rriggs, naoto
2021-11-04 15:51:37 +00:00
Naoto Sato
495c828ae9
8276188: Clarify "default charset" descriptions in String class
...
Reviewed-by: iris, joehw
2021-11-02 16:08:11 +00:00
Sergey Tsypanov
e5f298a7f1
8273329: Remove redundant null check from String.getBytes(String charsetName)
...
Reviewed-by: rriggs, iris, naoto
2021-09-08 15:54:36 +00:00
Claes Redestad
30b0f820ce
8272626: Avoid C-style array declarations in java.*
...
Reviewed-by: dfuchs, alanb
2021-08-18 10:47:03 +00:00
Yi Yang
afe957cd97
8268698: Use Objects.check{Index,FromToIndex,FromIndexSize} for java.base
...
Reviewed-by: mchung, rriggs
2021-07-13 02:23:16 +00:00
Jim Laskey
e4c5446340
8268236: The documentation of the String.regionMatches method contains error
...
Reviewed-by: rriggs, dfuchs
2021-06-28 13:51:07 +00:00
Weijun Wang
6765f90250
8266459: Implement JEP 411: Deprecate the Security Manager for Removal
...
Co-authored-by: Sean Mullan <mullan@openjdk.org>
Co-authored-by: Lance Andersen <lancea@openjdk.org>
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Reviewed-by: erikj, darcy, chegar, naoto, joehw, alanb, mchung, kcr, prr, lancea
2021-06-02 11:57:31 +00:00
Claes Redestad
95b1fa7a88
8267529: StringJoiner can create a String that breaks String::equals
...
Reviewed-by: naoto
2021-05-27 23:09:22 +00:00
Ian Graves
dd05158b24
8266155: Convert java.base to use Stream.toList()
...
Reviewed-by: bpb, naoto, iris, chegar
2021-04-30 19:52:26 +00:00
Peter Levart
98cb81b381
8265237: String.join and StringJoiner can be improved further
...
Reviewed-by: rriggs, redestad
2021-04-21 10:32:03 +00:00
Patrick Concannon
329697b02e
8263358: Update java.lang to use instanceof pattern variable
...
Reviewed-by: iris, chegar, mchung, dfuchs
2021-03-24 09:57:22 +00:00
Claes Redestad
433096a45e
8261744: Implement CharsetDecoder ASCII and latin-1 fast-paths
...
Reviewed-by: naoto, alanb
2021-02-19 15:05:25 +00:00
Jesper Wilhelmsson
9b7a8f1982
Merge
2021-02-04 02:06:33 +00:00
Aleksey Shipilev
081fa3e715
8260927: StringBuilder::insert is incorrect without Compact Strings
...
Reviewed-by: redestad, alanb, rriggs, jlaskey
2021-02-02 18:00:43 +00:00
Claes Redestad
58ceb25443
8259842: Remove Result cache from StringCoding
...
Reviewed-by: naoto, plevart, rriggs
2021-01-22 11:27:13 +00:00
Sergey Tsypanov
6eb25d7cb4
8254082: AbstractStringBuilder.insert(int dstOffset, CharSequence s, int start, int end) is missing fast-path for String
...
Reviewed-by: redestad
2020-11-30 17:43:19 +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
Philippe Marschall
2a406f3ce5
8138732: Rename @HotSpotIntrinsicCandidate to @IntrinsicCandidate and move it to the jdk.internal.vm.annotation package
...
Reviewed-by: dholmes, alanb, psandoz, kvn, egahlin
2020-09-30 20:05:07 +00:00
Pavel Rappo
83b2411fd1
8253342: Fix typos in String.transform
...
Reviewed-by: jlaskey
2020-09-18 10:45:28 +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
Naoto Sato
1f63603288
8248655: Support supplementary characters in String case insensitive operations
...
8248434: some newly added locale cannot parse uppercased date string
Reviewed-by: jlaskey, joehw, rriggs, bchristi
2020-07-23 08:46:31 -07:00
Joe Darcy
b7c307c019
8249687: Use inline @jls and @jvm tages in more places in java.base
...
Reviewed-by: bpb, mchung, mikael
2020-07-17 17:27:31 -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
Jim Laskey
03642a01af
8230744: Several classes throw OutOfMemoryError without message
...
Reviewed-by: psandoz, martin, bchristi, rriggs, smarks
2020-06-11 10:08:23 -03:00
Jim Laskey
bfd2e96120
8230800: Clarify String::stripIndent javadoc when string ends with line terminator
...
Reviewed-by: jlaskey, bchristi, rriggs
2020-06-01 08:17:32 -03:00
Claes Redestad
113c48f5da
8215401: Add isEmpty default method to CharSequence
...
Reviewed-by: jlaskey, rriggs, jjg, alanb, smarks, darcy
2020-05-22 11:20:57 +02:00
Jim Laskey
afe76a97d5
8245398: Remove addition preview adornment from String::formatted
...
Reviewed-by: psandoz
2020-05-20 10:00:52 -03:00
Jim Laskey
642041adbc
8243168: Remove addition preview adornment from String::stripIndent and String::translateEscapes
...
Reviewed-by: chegar
2020-04-21 10:11:36 -03:00
Jim Laskey
d9bf934831
8241742: Remove the preview status for methods introduced for Text Blocks
...
Reviewed-by: psandoz, chegar, alanb
2020-04-09 10:55:01 -03: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
Sergei Tsypanov
f729514ebd
8240094: Optimize empty substring handling
...
Reviewed-by: redestad, igerasim, jlaskey
2020-02-26 21:24:02 +01:00
Jim Laskey
234f326d79
8233116: Escape Sequences For Line Continuation and White Space (Preview)
...
Reviewed-by: vromero, jlahoda, bchristi, mcimadamore
2019-12-03 08:35:21 -04:00
Jan Lahoda
a1894385b3
8226585: Improve javac messages for using a preview API
...
Avoiding deprecation for removal for APIs associated with preview features, the features are marked with an annotation, and errors/warnings are produced for them based on the annotation.
Co-authored-by: Joe Darcy <joe.darcy@oracle.com>
Reviewed-by: erikj, mcimadamore, alanb
2019-10-21 15:38:26 +02:00
Julia Boes
b15b322cf3
8230648: Replace @exception tag with @throws in java.base
...
Minor coding style update of javadoc tag in any file in java.base
Reviewed-by: prappo, lancea
2019-09-20 11:07:52 +01:00