2243 Commits

Author SHA1 Message Date
Jesper Wilhelmsson
33f3bd8fad Merge 2023-01-11 21:50:42 +00:00
Justin Lu
d663b5da10 8299498: Usage of constructors of primitive wrapper classes should be avoided in java.lang API docs
Reviewed-by: naoto, darcy, rriggs, mchung, lancea
2023-01-11 17:18:39 +00:00
Justin Lu
437d69a220 8299836: Make user.timezone system property searchable
Reviewed-by: jpai, naoto
2023-01-11 17:14:08 +00:00
Naoto Sato
c7716a0101 8299571: ZoneRulesProvider.registerProvider() can leave inconsistent state on failure
Reviewed-by: iris, rriggs, joehw
2023-01-11 17:01:48 +00:00
Maurizio Cimadamore
945ef07564 8299862: OfAddress setter should disallow heap segments
Reviewed-by: jvernee
2023-01-11 10:31:25 +00:00
Mandy Chung
a86b6f6fde 8299183: Invokers.checkExactType passes parameters to create WMTE in opposite order
Reviewed-by: iris, jpai
2023-01-10 17:05:33 +00:00
Jaikiran Pai
b7eb4e2ffd 8297306: Incorrect brackets in Javadoc for a constructor of IteratorSpliterator
Reviewed-by: alanb, iris, naoto
2023-01-10 01:53:48 +00:00
Jesper Wilhelmsson
4395578b6f Merge 2023-01-09 23:31:32 +00:00
Justin Lu
f36f1354c6 8299501: Usage of constructors of primitive wrapper classes should be avoided in java.util API docs
Reviewed-by: naoto, lancea
2023-01-09 21:26:08 +00:00
Naoto Sato
d49851a8b8 8299689: Make use of JLine for Console as "opt-in"
Reviewed-by: jpai, alanb
2023-01-09 18:23:42 +00:00
Justin Lu
cd10c7278d 8299500: Usage of constructors of primitive wrapper classes should be avoided in java.text API docs
Reviewed-by: naoto, lancea
2023-01-09 17:43:31 +00:00
Jaikiran Pai
e209693a37 8258776: ThreadLocal#initialValue() Javadoc is unaware of ThreadLocal#withInitial()
Reviewed-by: alanb
2023-01-07 02:33:52 +00:00
Justin Lu
63cf4aa0c8 8299499: Usage of constructors of primitive wrapper classes should be avoided in java.net API docs
Reviewed-by: naoto, jpai
2023-01-07 02:19:15 +00:00
Jesper Wilhelmsson
5393dc9a48 Merge 2023-01-07 02:05:59 +00:00
Sergey Tsypanov
d086e82b3c 8299600: Use Objects.check*() where appropriate in java.io
Reviewed-by: alanb, bpb
2023-01-06 21:01:21 +00:00
Markus KARG
3dcf700161 8299336: InputStream::DEFAULT_BUFFER_SIZE should be 16384
Reviewed-by: bpb
2023-01-06 17:35:17 +00:00
Maurizio Cimadamore
5eee2a07f5 8299740: CaptureCallState is missing @Preview annotation
Reviewed-by: alanb
2023-01-06 14:52:08 +00:00
Matthias Baesken
c929d8be5d 8299475: Enhance SocketException by cause where it is missing in net and nio area
Reviewed-by: alanb
2023-01-05 08:26:38 +00:00
Jesper Wilhelmsson
df1caf9081 Merge 2023-01-04 16:03:09 +00:00
Mark Powers
3eb85d19ec 8299235: broken link referencing missing id
Reviewed-by: mullan
2023-01-03 15:41:55 +00:00
Per Minborg
a9ce7726a7 8299437: Make InetSocketAddressHolder shallowly immutable
Reviewed-by: djelinski, jpai, alanb
2023-01-03 10:00:19 +00:00
Per Minborg
8a10eef408 8299193: (bf) Buffer.capacity should be declared final
Reviewed-by: rriggs, dholmes, jpai
2023-01-02 13:25:04 +00:00
Per Minborg
e09e243116 8299187: (bf) ByteOrder.name should be declared final
Reviewed-by: jpai
2023-01-02 13:22:19 +00:00
Jorn Vernee
0532045edb 8298590: Refactor LambdaForm constructors
Reviewed-by: redestad
2023-01-02 12:06:26 +00:00
Jesper Wilhelmsson
19ce23c645 Merge 2022-12-23 11:25:10 +00:00
Mark Powers
a80c91d036 8299230: Use https: in links
Reviewed-by: jjg, mullan, xuelei
2022-12-22 15:29:53 +00:00
Naoto Sato
7e59a0ecb6 8298971: Move Console implementation into jdk internal package
Reviewed-by: jpai
2022-12-21 18:09:21 +00:00
Jesper Wilhelmsson
c5a4a7a679 Merge 2022-12-20 11:40:56 +00:00
Roger Riggs
d0a7679d2e 4958969: ObjectOutputStream example leads to non-working code
Reviewed-by: lancea, naoto
2022-12-19 23:10:30 +00:00
Per Minborg
7938f8c32a 8298639: Perform I/O operations in bulk for RandomAccessFile
Co-authored-by: Sergey Tsypanov <stsypanov@openjdk.org>
Reviewed-by: alanb, bpb
2022-12-18 20:25:42 +00:00
Jesper Wilhelmsson
3696711efa Merge 2022-12-16 15:48:24 +00:00
Maurizio Cimadamore
f771c56e16 8298797: Specification of some restricted methods is incorrect
Reviewed-by: jvernee, pminborg
2022-12-16 10:49:22 +00:00
Brian Burkhalter
5412439445 8298187: (fs) BsdFileAttributeViews::setTimes does not support lastAccessTime on HFS+
Reviewed-by: alanb
2022-12-15 22:47:29 +00:00
Naoto Sato
0ef353925e 8298416: Console should be declared sealed
Reviewed-by: jpai, alanb
2022-12-15 19:20:12 +00:00
Brian Burkhalter
831b35fad3 7093322: (fs spec) Files.newBufferedWriter should be clear when coding errors are detected
Reviewed-by: alanb
2022-12-15 17:27:39 +00:00
Brian Burkhalter
ca39eb9066 7093322: (fs spec) Files.newBufferedWriter should be clear when coding errors are detected
Reviewed-by: alanb
2022-12-15 17:27:08 +00:00
Brent Christian
bf78f716bd 8295857: Clarify that cleanup code can be skipped when the JVM terminates (e.g. when calling halt())
Reviewed-by: iris
Backport-of: c7aca73177339f931f7dfb6627365548a32874f7
2022-12-13 19:07:44 +00:00
Jesper Wilhelmsson
23e18275ac Merge 2022-12-13 16:42:35 +00:00
Brent Christian
c7aca73177 8295857: Clarify that cleanup code can be skipped when the JVM terminates (e.g. when calling halt())
Reviewed-by: lancea, bpb, naoto, dholmes, smarks
2022-12-12 19:36:55 +00:00
Naoto Sato
0267aa528b 8297288: Example code in Scanner class
Reviewed-by: lancea, bpb, alanb
2022-12-12 17:59:25 +00:00
Per Minborg
81f57d568f 8298567: Make field in RandomAccessFile final
Reviewed-by: rriggs, chegar
2022-12-12 17:06:34 +00:00
Sergey Tsypanov
e3c6cf8eaf 8298380: Clean up redundant array length checks in JDK code base
Reviewed-by: dholmes, amenkov, serb, vtewari
2022-12-09 12:50:55 +00:00
Joe Darcy
7f9c6ce331 8297679: InvocationTargetException field named target is not declared final
Reviewed-by: alanb
2022-12-09 00:29:08 +00:00
Alan Bateman
d35e840024 8297295: Remove ThreadGroup.allowThreadSuspension
Reviewed-by: jpai, smarks, chegar, darcy
2022-12-08 18:17:58 +00:00
Joe Darcy
175e3d3ff3 8296149: Start of release updates for JDK 21
8296150: Add SourceVersion.RELEASE_21
8296151: Add source 21 and target 21 to javac

Reviewed-by: dholmes, iris, erikj, vromero, jlahoda
2022-12-08 16:04:00 +00:00
Sergey Tsypanov
b9346e149e 8298033: Character.codePoint{At|Before}(char[], int, int) doesn't do JavaDoc-specified check
Reviewed-by: rriggs
2022-12-08 10:21:56 +00:00
Alan Bateman
1166c8e2c0 8296896: Change virtual Thread.yield to use external submit
Reviewed-by: jpai, rpressler
2022-12-08 07:37:32 +00:00
Naoto Sato
8a9911ef17 8295803: Console should be usable in jshell and other environments
Reviewed-by: jlaskey, alanb
2022-12-07 20:49:29 +00:00
Brian Burkhalter
10356e767a 8298303: (fs) temporarily remove Path.getExtension
Reviewed-by: smarks, alanb
2022-12-07 18:54:18 +00:00
Markus KARG
389b8f4b78 8297298: SequenceInputStream should override transferTo
Reviewed-by: bpb
2022-12-07 16:29:43 +00:00