2649 Commits

Author SHA1 Message Date
Naoto Sato
7284f013ea 8262110: DST starts from incorrect time in 2038
8073446: TimeZone getOffset API does not  return a dst offset between years 2038-2137

Reviewed-by: rriggs
2021-03-26 17:13:49 +00:00
Sebastian Stenzel
4e74de4b2e 8264111: (fs) Leaking NativeBuffers in case of errors during UnixUserDefinedFileAttributeView.read/write
Reviewed-by: alanb
2021-03-26 14:56:52 +00:00
Joe Darcy
259319669c 8264161: BigDecimal#stripTrailingZeros can throw undocumented ArithmeticException
Reviewed-by: bpb
2021-03-25 20:42:34 +00:00
Anton Kozlov
dbc9e4b50c 8253795: Implementation of JEP 391: macOS/AArch64 Port
8253816: Support macOS W^X
8253817: Support macOS Aarch64 ABI in Interpreter
8253818: Support macOS Aarch64 ABI for compiled wrappers
8253819: Implement os/cpu for macOS/AArch64
8253839: Update tests and JDK code for macOS/Aarch64
8254941: Implement Serviceability Agent for macOS/AArch64
8255776: Change build system for macOS/AArch64
8262903: [macos_aarch64] Thread::current() called on detached thread

Co-authored-by: Vladimir Kempik <vkempik@openjdk.org>
Co-authored-by: Bernhard Urban-Forster <burban@openjdk.org>
Co-authored-by: Ludovic Henry <luhenry@openjdk.org>
Co-authored-by: Monica Beckwith <mbeckwit@openjdk.org>
Reviewed-by: erikj, ihse, prr, cjplummer, stefank, gziemski, aph, mbeckwit, luhenry
2021-03-25 18:10:18 +00:00
Brian Burkhalter
b006f22f1f 4833719: (bf) Views of MappedByteBuffers are not MappedByteBuffers, and cannot be forced
Reviewed-by: adinn
2021-03-25 15:30:50 +00:00
Xue-Lei Andrew Fan
a678a38dd9 8263743: redundant lock in SSLSocketImpl
Reviewed-by: jnimeh
2021-03-25 05:16:37 +00:00
Prajwal Kumaraswamy
4155533258 8258753: StartTlsResponse.close() hangs due to synchronization issues
Reviewed-by: xuelei
2021-03-25 03:35:49 +00:00
Aleksei Voitylov
133a63b4a1 8263968: CDS: java/lang/ModuleLayer.EMPTY_LAYER should be singleton
Reviewed-by: iklam, dholmes, alanb, redestad
2021-03-24 16:32:36 +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
Weijun Wang
0b2aa1b605 8263978: Clarify why 0 argument is ignored in SecureRandom::setSeed
Reviewed-by: valeriep
2021-03-23 22:23:37 +00:00
Kim Barrett
2425462a84 8263903: Use Cleaner instead of finalize to auto stop Timer thread
Reviewed-by: dholmes, alanb, bchristi, rriggs, mchung
2021-03-23 21:16:35 +00:00
Kim Barrett
47ef038977 8263905: Remove finalize methods for SocketInput/OutputStream
Reviewed-by: alanb, vtewari, dfuchs, mchung
2021-03-23 20:54:23 +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
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