2536 Commits

Author SHA1 Message Date
Brian Burkhalter
8fa34e4043 8241619: (fs) Files.newByteChannel(path, Set.of(CREATE_NEW, READ)) does not throw a FileAlreadyExistsException when the file exists
Reviewed-by: alanb
2021-03-23 16:03:59 +00:00
Andrey Turbanov
233536263e 8264032: Improve thread safety of Runtime.version()
Reviewed-by: shade, alanb
2021-03-23 13:21:44 +00:00
Daniel Fuchs
9dad857ede 8263080: Obsolete relationship in MulticastSocket API documentation.
Reviewed-by: alanb
2021-03-23 10:39:42 +00:00
Aleksey Shipilev
4ef7c67bc6 8263979: Cleanup duplicate check in Unicode.contains
Reviewed-by: prappo, alanb
2021-03-23 06:52:58 +00:00
Henry Jen
b2df51372f 8261785: Calling "main" method in anonymous nested class crashes the JVM
Reviewed-by: serb
2021-03-22 15:59:49 +00:00
Jonathan Dowland
ba504fcee8 8187450: JNI local refs exceeds capacity warning in NetworkInterface::getAll
Reviewed-by: chegar, dfuchs, aph
2021-03-22 15:29:47 +00:00
Naoto Sato
96e5c3f1e0 8263890: Broken links to Unicode.org
Reviewed-by: redestad, joehw, iris
2021-03-19 21:48:36 +00:00
Alex Blewitt
6fa6557d5e 8263825: Remove unused and commented out member from NTLMException
Reviewed-by: mullan, redestad
2021-03-19 21:07:03 +00:00
Alex Blewitt
77ebc11038 8263892: More modifier order fixes in java.base
Reviewed-by: naoto, iris, redestad
2021-03-19 21:06:24 +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
Claes Redestad
57497ab0ca 8263821: Remove unused MethodTypeForm canonicalization codes
Reviewed-by: mchung
2021-03-19 10:52:13 +00:00
Chris Hegarty
4d51a82ba8 8263818: Release JNI local references in get/set-InetXXAddress-member helper functions of net_util.c
Reviewed-by: alanb
2021-03-19 10:46:05 +00:00
Valerie Peng
434a399bea 8260274: Cipher.init(int, key) does not use highest priority provider for random bytes
Reviewed-by: ascarpino, xuelei
2021-03-18 23:23:19 +00:00
Brian Burkhalter
fa0f1614ff 8263742: (bf) MappedByteBuffer.force() should use the capacity as its upper bound
Reviewed-by: adinn, alanb
2021-03-18 21:12:33 +00:00
Claes Redestad
63eae8fac2 8260605: Various java.lang.invoke cleanups
Reviewed-by: mchung
2021-03-18 12:47:57 +00:00
Jaikiran Pai
9225a23023 8263108: Class initialization deadlock in java.lang.constant
Reviewed-by: vtewari, plevart, chegar
2021-03-18 01:45:07 +00:00
Joe Darcy
99b39aadbd 8262807: Note assumptions of core reflection modeling and parameter handling
Reviewed-by: rriggs
2021-03-17 21:58:48 +00:00
Joe Darcy
26234b5333 8254979: Class.getSimpleName() returns non-empty for lambda and method
Reviewed-by: rriggs, mchung
2021-03-17 20:24:51 +00:00
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
Vicente Romero
9cb9af6865 8260959: remove RECORDS from PreviewFeature.Feature enum
Reviewed-by: jlahoda
2021-03-16 19:37:56 +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
Craig Andrews
0c718ab2a0 8262277: URLClassLoader.getResource throws undocumented IllegalArgumentException
Reviewed-by: alanb, bchristi, psadhukhan
2021-03-15 18:35:04 +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
Aleksey Shipilev
9f6b1d7fa4 8263436: Silly array comparison in GaloisCounterMode.overlapDetection
Reviewed-by: ascarpino
2021-03-12 07:35:11 +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
Anthony Scarpino
414ee95b8e 8261462: GCM ByteBuffer decryption problems
Reviewed-by: valeriep
2021-03-08 21:28:07 +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
John Jiang
22a3117d22 8263137: Typos in sun.security.ssl.RenegoInfoExtension
Reviewed-by: xuelei
2021-03-07 22:46:16 +00:00
djelinski
18fc35053c 8259886: Improve SSL session cache performance and scalability
Reviewed-by: erikj, xuelei
2021-03-07 01:13:24 +00:00
Jonathan Gibbons
718298506d 8263104: fix warnings for empty paragraphs
Reviewed-by: alanb, lancea
2021-03-06 15:06:49 +00:00
Arno Zeller
8d3de4b1bd 8262844: (fs) FileStore.supportsFileAttributeView might return false negative in case of ext3
Reviewed-by: alanb, clanger, bpb
2021-03-05 11:02:26 +00:00
Vyom Tewari
80182f92db 8260925: HttpsURLConnection does not work with other JSSE provider.
Reviewed-by: xuelei
2021-03-05 05:29: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