2323 Commits

Author SHA1 Message Date
Jaikiran Pai
43cf8b3d80 8302664: Fix several incorrect usages of Preconditions.checkFromIndexSize
Reviewed-by: djelinski, dfuchs, alanb
2023-02-18 00:48:29 +00:00
Joe Darcy
655a71277d 8301444: Port fdlibm hyperbolic transcendental functions to Java
Reviewed-by: bpb
2023-02-17 03:22:06 +00:00
Joe Darcy
3ba156082b 8302026: Port fdlibm inverse trig functions (asin, acos, atan) to Java
Reviewed-by: bpb
2023-02-15 22:16:30 +00:00
Claes Redestad
861e302011 8302163: Speed up various String comparison methods with ArraysSupport.mismatch
Reviewed-by: stsypanov, rriggs, alanb
2023-02-15 21:52:41 +00:00
Mandy Chung
50dcc2aec5 8301460: Clean up LambdaForm to reference BasicType enums directly
Reviewed-by: jvernee
2023-02-15 18:29:26 +00:00
Michael McMahon
52388179e6 8301463: Code in DatagramSocket still refers to resolved JDK-8237352
Reviewed-by: dfuchs
2023-02-15 10:19:49 +00:00
Mandy Chung
9c202a5a8f 8302260: VarHandle.describeConstable() fails to return a nominal descriptor for static public fields
Reviewed-by: alanb, psandoz
2023-02-14 21:15:14 +00:00
Brian Burkhalter
5b2d430131 8297632: InputStream.transferTo() method should specify what the return value should be when the number of bytes transfered is larger than Long.MAX_VALUE
Reviewed-by: alanb, lancea
2023-02-14 16:30:52 +00:00
Eirik Bjorsnos
d782125c8f 8302214: Typo in javadoc of Arrays.compare and Arrays.mismatch
Reviewed-by: jpai
2023-02-14 06:58:56 +00:00
Tagir F. Valeev
94e7cc8587 8301226: Add clamp() methods to java.lang.Math and to StrictMath
Reviewed-by: qamai, darcy
2023-02-14 05:39:07 +00:00
Claes Redestad
1f9c110c1f 8301958: Reduce Arrays.copyOf/-Range overheads
Reviewed-by: alanb, smarks
2023-02-13 11:17:38 +00:00
Joe Darcy
919a6da2a7 8301202: Port fdlibm log to Java
Reviewed-by: bpb
2023-02-11 02:15:46 +00:00
Brian Burkhalter
57798dd439 6595142: (spec) ByteArrayInputStream treats bytes, not characters
Reviewed-by: alanb
2023-02-10 19:43:30 +00:00
Per Minborg
c25b4f4619 8301578: Perform output outside synchronization in Module.class
Reviewed-by: alanb
2023-02-10 13:46:46 +00:00
Jesper Wilhelmsson
af8973dc50 Merge 2023-02-09 11:59:08 +00:00
Roger Riggs
6f460e4885 8301863: ObjectInputFilter example incorrectly calls rejectUndecidedClass
Reviewed-by: lancea
2023-02-08 22:09:22 +00:00
Mandy Chung
10dd98d0dd 8301462: Convert Permission files to use lambda after JDK-8076596
Reviewed-by: jpai, dfuchs, mullan
2023-02-08 19:06:41 +00:00
Mark Powers
2e2e71e1fa 8300416: java.security.MessageDigestSpi clone can result in thread-unsafe clones
Reviewed-by: mullan
2023-02-07 17:40:22 +00:00
Darragh Clarke
09b8a19597 8300177: URISyntaxException fields can be final
Reviewed-by: dfuchs, alanb, jpai
2023-02-07 12:34:29 +00:00
Viktor Klang
ecf8842cd2 8300098: java/util/concurrent/ConcurrentHashMap/ConcurrentAssociateTest.java fails with internal timeout when executed with TieredCompilation1/3
Co-authored-by: Doug Lea <dl@openjdk.org>
Reviewed-by: jpai, alanb
2023-02-06 15:26:32 +00:00
Joe Darcy
34493248c0 8301396: Port fdlibm expm1 to Java
Reviewed-by: bpb
2023-02-04 00:48:26 +00:00
Joe Darcy
ee0f5b5ed0 8301392: Port fdlibm log1p to Java
Reviewed-by: bpb
2023-02-02 20:36:34 +00:00
Raffaello Giulietti
f696785fd3 8300869: Make use of the Double.toString(double) algorithm in java.util.Formatter
Reviewed-by: darcy, naoto
2023-02-02 19:10:42 +00:00
Dr Heinz M. Kabutz
cf6b9eb8c8 8301637: ThreadLocalRandom.current().doubles().parallel() contention
Reviewed-by: alanb
2023-02-02 18:28:47 +00:00
Christian Wimmer
622b6594d1 8262994: Refactor String.split to help method inlining
Reviewed-by: plevart
2023-01-30 23:33:11 +00:00
Joe Darcy
63bb2ce8de 8301205: Port fdlibm log10 to Java
Reviewed-by: bpb
2023-01-30 20:33:01 +00:00
Naoto Sato
323813985b 8300916: Re-examine the initialization of JNU Charset in StaticProperty
Reviewed-by: mchung, alanb
2023-01-30 17:06:44 +00:00
Eirik Bjorsnos
5dfc4ec7d9 8300140: ZipFile.isSignatureRelated returns true for files in META-INF subdirectories
Reviewed-by: weijun
2023-01-27 22:47:51 +00:00
Jesper Wilhelmsson
5c59de52a3 Merge 2023-01-27 22:46:31 +00:00
Tagir F. Valeev
ae0e76d3dd 8301120: Cleanup utility classes java.util.Arrays and java.util.Collections
Reviewed-by: smarks, darcy
2023-01-27 19:23:53 +00:00
Mandy Chung
7f05d57a87 8217920: Lookup.defineClass injects a class that can access private members of any class in its own module
Reviewed-by: psandoz, alanb, darcy
2023-01-27 18:31:03 +00:00
Justin Lu
22c976a9b0 8177418: NPE is not apparent for methods in java.util.TimeZone API docs
Reviewed-by: lancea, naoto
2023-01-27 18:11:20 +00:00
Adam Sotona
b22e5216c4 8300953: ClassDesc::ofInternalName missing @since tag
Reviewed-by: darcy, mchung, jjg
2023-01-27 15:09:53 +00:00
Darragh Clarke
d7aa87fdbd 8300176: URLEncoder/URLDecoder static fields should be private static final
Reviewed-by: redestad, michaelm, stsypanov, dfuchs, jpai
2023-01-27 10:52:06 +00:00
Brian Burkhalter
c4278144be 8299982: (bf) Buffer.checkIndex(int, int) should use Preconditions.checkIndex(int, int, BiFunction)
Reviewed-by: uschindler, vtewari, rriggs, alanb
2023-01-26 20:09:01 +00:00
Viktor Klang
a2a7703370 8299444: java.util.Set.copyOf allocates needlessly for empty input collections
Reviewed-by: rriggs, shade, smarks
2023-01-26 18:15:56 +00:00
Conor Cleary
48152ef66f 8287134: HttpURLConnection chunked streaming mode doesn't enforce specified size
Reviewed-by: dfuchs, michaelm
2023-01-26 08:35:07 +00:00
Per Minborg
74e1a8bfa8 8300236: Use VarHandle access in Data(Input | Output)Stream classes
Reviewed-by: rriggs, alanb
2023-01-25 12:54:27 +00:00
Per Minborg
57f2d48e1e 8300863: Remove C-style array declarations in java.io
Reviewed-by: alanb, rriggs, darcy, iris
2023-01-24 07:43:29 +00:00
Justin Lu
b3822f50c8 8300589: Use @snippet and @linkplain in java.text.CollationKey and java.text.CompactNumberFormat
Reviewed-by: lancea, naoto, iris
2023-01-24 04:35:46 +00:00
Justin Lu
0323609f44 8300706: Use @snippet in java.text
Reviewed-by: naoto
2023-01-24 02:05:05 +00:00
Justin Lu
dcf1523bf2 8300077: Refactor code examples to use @snippet in java.text.ChoiceFormat
Reviewed-by: lancea, iris, naoto
2023-01-23 19:31:36 +00:00
Per Minborg
d117350875 8300866: Declare some classes final in java.io
Reviewed-by: alanb
2023-01-23 19:09:39 +00:00
Per Minborg
4525aa318a 8300867: Fix document issues in java.io
Reviewed-by: alanb, lancea, iris
2023-01-23 17:53:20 +00:00
Per Minborg
a7f035db76 8300868: Reduce visibility in java.io.SerialCallbackContext
Reviewed-by: rriggs
2023-01-23 17:47:01 +00:00
Per Minborg
079255e312 8300864: Declare some fields in java.io as final
Reviewed-by: rriggs, lancea
2023-01-23 17:40:13 +00:00
Brian Burkhalter
a56598f5a5 8299684: (bf) JNI direct buffer functions with large capacity behave unexpectedly
Reviewed-by: dholmes, alanb
2023-01-23 17:12:49 +00:00
Brian Burkhalter
542bfe61e6 8300587: (bf) Some covariant overrides are missing @since tags
Reviewed-by: lancea, iris
2023-01-23 17:05:36 +00:00
Raffaello Giulietti
030b071db1 8300207: Add a pre-check for the number of canonical equivalent permutations in j.u.r.Pattern
Reviewed-by: smarks
2023-01-22 12:45:52 +00:00
Sergey Bylokhov
3ea4eac145 8300817: The build is broken after JDK-8294693
Reviewed-by: tvaleev, darcy
2023-01-21 21:51:41 +00:00