1859 Commits

Author SHA1 Message Date
Joe Darcy
24afa36d5c 8263726: divideToIntegralValue typo on BigDecimal documentation
Reviewed-by: bpb
2021-03-17 16:58:20 +00:00
Sergey Tsypanov
000012a3b0 8148937: (str) Adapt StringJoiner for Compact Strings
Reviewed-by: redestad, chegar
2021-03-17 13:34:58 +00:00
Claes Redestad
e33bfb3977 8263450: Simplify LambdaForm.useCount
Reviewed-by: rriggs
2021-03-16 14:56:24 +00:00
Andrey Turbanov
68deb24b38 8080272: Refactor I/O stream copying to use InputStream.transferTo/readAllBytes and Files.copy
Reviewed-by: mcimadamore, alanb
2021-03-16 10:10:05 +00:00
Brian Burkhalter
46d78f0d24 6539707: (fc) MappedByteBuffer.force() method throws an IOException in a very simple test
Reviewed-by: alanb
2021-03-15 17:24:24 +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
Claes Redestad
fac39fe97a 8263508: Remove dead code in MethodHandleImpl
Reviewed-by: jkuhn, mchung
2021-03-15 10:52:48 +00:00
Bradford Wetmore
32cbd193d9 8263105: security-libs doclint cleanup
Reviewed-by: iris, darcy, dfuchs, mullan
2021-03-11 00:26:26 +00:00
Ian Graves
6971c23a3a 8262351: Extra '0' in java.util.Formatter for '%012a' conversion with a sign character
Reviewed-by: bchristi, naoto
2021-03-10 22:46:32 +00:00
Brian Burkhalter
b482733f94 8259218: (fs) Add links in from overloaded methods in java.nio.file.Files
Reviewed-by: dfuchs, alanb
2021-03-10 20:02:12 +00:00
Joe Darcy
acda812958 8263333: Improve links from core reflection to JLS and JVMS
Reviewed-by: jfranck
2021-03-10 17:45:54 +00:00
Claes Redestad
7e52a6e8b3 8263380: Unintended use of Objects.nonNull in VarHandles
Reviewed-by: rriggs
2021-03-10 17:03:39 +00:00
Christoph Göttschkes
c8c0234b78 8262471: Fix coding style in src/java.base/share/classes/java/lang/CharacterDataPrivateUse.java
Reviewed-by: alanb, rriggs
2021-03-10 14:46:57 +00:00
Patrick Concannon
fdd3941121 8263233: Update java.net and java.nio to use instanceof pattern variable
Reviewed-by: dfuchs, bpb, chegar, michaelm
2021-03-10 11:05:29 +00:00
Joe Darcy
67ea3bd6a4 8263102: Expand documention of Method.isBridge
Reviewed-by: smarks
2021-03-10 03:43:53 +00:00
Patrick Concannon
fbe40e8926 8252399: Update mapMulti documentation to use type test pattern instead of instanceof once JEP 375 exits preview
Reviewed-by: dfuchs, psandoz, smarks
2021-03-09 11:09:40 +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
Claes Redestad
f71b21b0e7 8263038: Optimize String.format for simple specifiers
Reviewed-by: rriggs, naoto
2021-03-08 23:13:45 +00:00
Joe Darcy
14cfbda39e 8261366: Add discussion of IEEE 754 to BigDecimal
Reviewed-by: bpb
2021-03-08 22:30:11 +00:00
Martin Buchholz
eb4a8af559 8260664: Phaser.arrive() memory consistency effects
Reviewed-by: dl
2021-03-08 20:11:18 +00:00
Claes Redestad
a0c3f24218 8263091: Remove CharacterData.isOtherUppercase/-Lowercase
Reviewed-by: rriggs, naoto, iris
2021-03-08 10:34:57 +00:00
Claes Redestad
13625bebd0 8263090: Avoid reading volatile fields twice in Locale.getDefault(Category)
Reviewed-by: rriggs, naoto, serb
2021-03-08 10:32:55 +00:00
Ian Graves
dbef0ec95d 6323374: (coll) Optimize Collections.unmodifiable* and synchronized*
Reviewed-by: redestad, smarks, darcy
2021-03-05 03:20:44 +00:00
Joe Darcy
2848938977 8262927: Explicitly state fields examined for BigDecimal.hashCode
Reviewed-by: bpb
2021-03-03 23:15:02 +00:00
Joe Darcy
a11818528a 8261862: Expand discussion of rationale for BigDecimal equals/compareTo semantics
Reviewed-by: smarks, bpb
2021-03-03 19:29:17 +00:00
Jonathan Gibbons
20b9ba53a5 8262875: doccheck: empty paragraphs, etc in java.base module
Reviewed-by: alanb, darcy, lancea
2021-03-02 20:35:51 +00:00
Daniel Fuchs
5f4bc0aca6 8253100: Fix "no comment" warnings in java.base/java.net
Reviewed-by: ryadav, chegar, naoto, alanb
2021-03-02 12:54:54 +00:00
Jonathan Gibbons
3088e1e62e 8262430: doclint warnings in java.base module
Reviewed-by: alanb, chegar, dfuchs, lancea
2021-02-26 15:12:51 +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
Joe Darcy
e5304b3a99 8253409: Double-rounding possibility in float fma
Reviewed-by: bpb
2021-02-23 19:42:05 +00:00
Doug Lea
5b7b18c5bf 8259800: timeout in tck test testForkJoin(ForkJoinPool8Test)
Reviewed-by: martin, dholmes
2021-02-22 12:42:40 +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
Joe Darcy
564011cff0 8261290: Improve error message for NumberFormatException on null input
Reviewed-by: attila, alanb
2021-02-21 18:43:26 +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
Naoto Sato
8a1c712c2e 8261728: SimpleDateFormat should link to DateTimeFormatter
Reviewed-by: bpb, rriggs, lancea, iris
2021-02-19 16:44:38 +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
Claes Redestad
433096a45e 8261744: Implement CharsetDecoder ASCII and latin-1 fast-paths
Reviewed-by: naoto, alanb
2021-02-19 15:05:25 +00:00
Hamlin Li
a180a38618 8260694: (fc) Clarify FileChannel.transferFrom to better describe "no bytes available" case
Reviewed-by: alanb
2021-02-19 12:35:35 +00:00
Joe Darcy
c4664e6446 8261940: Fix references to IOException in BigDecimal javadoc
Reviewed-by: alanb, chegar, iris, bpb
2021-02-18 17:52:30 +00:00
Naoto Sato
ea5bf45c6f 8261621: Delegate Unicode history from JLS to j.l.Character
Reviewed-by: bpb, joehw, rriggs, darcy
2021-02-17 22:10:27 +00:00
Joe Darcy
d547e1a847 8261123: Augment discussion of equivalence classes in Object.equals and comparison methods
Reviewed-by: bpb, smarks, rriggs
2021-02-17 01:08:39 +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
Ian Graves
350303d4f0 8260221: java.util.Formatter throws wrong exception for mismatched flags in %% conversion
Reviewed-by: smarks
2021-02-12 16:06:39 +00:00
Patrick Concannon
1662373400 8235139: Deprecate the socket impl factory mechanism
Reviewed-by: dfuchs, alanb, chegar
2021-02-11 10:00:31 +00:00
Brian Burkhalter
f395ee0c76 8261306: ServiceLoader documentation has malformed Unicode escape
Reviewed-by: lancea, iris, naoto
2021-02-09 16:43:36 +00:00
Claes Redestad
2f893c2b83 8260337: Optimize ImageReader lookup, used by Class.getResource
Reviewed-by: jlaskey, sundar
2021-02-09 15:32:36 +00:00
Brian Burkhalter
7451962849 8129776: The optimized Stream returned from Files.lines should unmap the mapped byte buffer (if created) when closed
Reviewed-by: rriggs, psandoz, alanb
2021-02-08 22:18:00 +00:00
Joe Darcy
2fd8ed024b 8240632: Note differences between IEEE 754-2019 math lib special cases and java.lang.Math
Reviewed-by: bpb
2021-02-08 21:50:55 +00:00
Claes Redestad
92c6e6dffa 8261254: Initialize charset mapping data lazily
Reviewed-by: alanb, jkuhn, naoto
2021-02-08 18:45:43 +00:00
Daniel Fuchs
2c28e36454 8237352: Update DatagramSocket to add support for joining multicast groups
Reviewed-by: alanb
2021-02-08 12:55:00 +00:00