2457 Commits

Author SHA1 Message Date
Ian Graves
ac3ab5b007 8217496: Matcher.group() can return null after usePattern
Reviewed-by: smarks
2023-03-07 17:20:04 +00:00
Pavel Rappo
45a616a891 8303480: Miscellaneous fixes to mostly invisible doc comments
Reviewed-by: mullan, prr, cjplummer, aivanov, jjg, lancea, rriggs, ihse
2023-03-07 15:31:42 +00:00
Naoto Sato
cfb0a25a4e 8303440: The "ZonedDateTime.parse" may not accept the "UTC+XX" zone id
Reviewed-by: iris, jpai, rriggs, lancea
2023-03-06 17:22:52 +00:00
Jorn Vernee
5977f266d0 8303604: Passing by-value structs whose size is not power of 2 doesn't work on all platforms (mainline)
Reviewed-by: mcimadamore
2023-03-06 15:18:39 +00:00
Joe Darcy
1bb39a95eb 8302027: Port fdlibm trig functions (sin, cos, tan) to Java
Reviewed-by: bpb
2023-03-04 23:52:03 +00:00
Raffaello Giulietti
5b2e2e4695 8302590: Add String.indexOf(int ch, int fromIndex, int toIndex)
Reviewed-by: rriggs, alanb
2023-03-03 20:51:13 +00:00
Roger Riggs
379f2061aa 8303198: System and Runtime.exit() resilience to logging errors
Reviewed-by: dholmes, jpai, alanb
2023-03-03 16:14:45 +00:00
Glavo
7449e1c661 8299807: newStringNoRepl should avoid copying arrays for ASCII compatible charsets
Reviewed-by: rriggs
2023-03-03 15:41:03 +00:00
Pavel Rappo
e1745bc981 8303473: Add implied {@code} in java.lang.invoke.MethodHandles
Reviewed-by: jjg, lancea, mchung
2023-03-03 09:12:14 +00:00
Yi Yang
c961a918ad 8143900: OptimizeStringConcat has an opaque dependency on Integer.sizeTable field
Reviewed-by: kvn, thartmann
2023-03-03 02:00:45 +00:00
Saint Wesonga
fb13063943 8303409: Add Windows AArch64 ABI support to the Foreign Function & Memory API
Reviewed-by: jvernee
2023-03-02 13:26:27 +00:00
Justin Lu
05faa7321b 8303232: java.util.Date.parse(String) and java.util.Date(String) don't declare thrown IllegalArgumentException
Reviewed-by: jpai, lancea, naoto
2023-03-01 18:13:42 +00:00
Justin Lu
7e47d51e10 8282319: java.util.Locale method to stream available Locales
Reviewed-by: stsypanov, naoto, lancea, rriggs
2023-03-01 00:36:22 +00:00
Joe Darcy
61e8867591 8302040: Port fdlibm sqrt to Java
Reviewed-by: bpb, thartmann, aturbanov
2023-02-28 18:33:53 +00:00
Archie L. Cobbs
1e3c9fd67e 8026369: javac potentially ambiguous overload warning needs an improved scheme
Reviewed-by: vromero
2023-02-28 03:33:14 +00:00
Roger Riggs
4c169d2d7c 8303253: Remove unnecessary calls to super() in java.time value based classes
Reviewed-by: naoto, mchung, lancea
2023-02-27 18:10:40 +00:00
David M. Lloyd
b527edd338 8292914: Lambda proxies have unstable names
Change the name of generated lambda proxy classes so that they no longer have a numerical suffix.

Reviewed-by: mchung
2023-02-27 17:18:44 +00:00
Brian Burkhalter
42330d28da 8029370: (fc) FileChannel javadoc not clear for cases where position == size
Reviewed-by: lancea
2023-02-27 17:11:29 +00:00
Andrey Turbanov
3a9f491caa 8301964: Expensive fillInStackTrace operation in HttpURLConnection.getLastModified when no last-modified in response
Reviewed-by: dfuchs, jpai, alanb
2023-02-25 13:39:36 +00:00
Alan Bateman
2e78d838a5 8302899: Executors.newSingleThreadExecutor can use Cleaner to shutdown executor
Reviewed-by: rriggs, martin, dfuchs, bchristi
2023-02-25 07:48:57 +00:00
Eirik Bjorsnos
17e3769ed7 8302871: Speed up StringLatin1.regionMatchesCI
Reviewed-by: redestad, martin, alanb
2023-02-25 07:48:03 +00:00
Brian Burkhalter
ccf3340e82 8303083: (bf) Remove private DirectByteBuffer(long, int) constructor before JDK 21 GA
Reviewed-by: alanb, lancea
2023-02-24 19:02:12 +00:00
Claes Redestad
1bab93b2d0 8303073: (bf) Temporarily reinstate private DirectByteBuffer(long, int) constructor
Reviewed-by: alanb, bpb
2023-02-23 10:31:14 +00:00
Joe Darcy
fcaf871408 8302028: Port fdlibm atan2 to Java
Reviewed-by: bpb
2023-02-22 22:49:59 +00:00
Patricio Chilano Mateo
83bea26df4 8300575: JVMTI support when using alternative virtual thread implementation
Reviewed-by: lmesnik, sspitsyn, alanb
2023-02-22 15:42:53 +00:00
Sergey Tsypanov
25bfed3b12 8302979: (fs) Files usage of SUPPORTED_CHARSETS could be simplified
Reviewed-by: alanb, jwaters
2023-02-22 14:08:51 +00:00
Tagir F. Valeev
3f3a1f534b 8302815: Use new Math.clamp method in core libraries
Reviewed-by: alanb
2023-02-22 09:51:14 +00:00
Eirik Bjorsnos
ef1f7bd3b8 8302877: Speed up latin1 case conversions
Reviewed-by: naoto, redestad
2023-02-21 20:54:36 +00:00
Glavo
5489c821dc 8302603: Use Set.of in java.nio.charset.Charset
Reviewed-by: stsypanov, alanb, naoto
2023-02-21 17:35:52 +00:00
Roger Riggs
10b4cc9eb4 8301627: System.exit and Runtime.exit debug logging
Reviewed-by: alanb, chegar
2023-02-21 15:37:08 +00:00
Claes Redestad
92dfa1175e 8302863: Speed up String::encodeASCII using countPositives
Reviewed-by: alanb
2023-02-21 13:31:15 +00:00
Pavel Rappo
8b20aa919b 8302981: Fix a typo in the doc comment for java.lang.Record.equals
Reviewed-by: jpai
2023-02-21 13:11:26 +00:00
Claes Redestad
d6716d2e54 8302315: Examine cost of clone of primitive arrays compared to arraycopy
Reviewed-by: alanb
2023-02-18 15:17:57 +00:00
Eirik Bjorsnos
78f71b4d41 8301873: Avoid string decoding in ZipFile.Source.getEntryPos
Reviewed-by: redestad, lancea
2023-02-18 12:39:19 +00:00
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