933 Commits

Author SHA1 Message Date
Pavel Rappo
d3d71ea289 8284922: Fix some doc-comment issues on methods with package access in JDK API
Reviewed-by: darcy, iris, bpb
2022-04-18 17:35:48 +00:00
Paul Sandoz
fbb0916090 8283892: Compress and expand bits
Reviewed-by: alanb, redestad
2022-04-14 20:27:12 +00:00
Claes Redestad
280aa42880 8284579: Improve VarHandle checks for interpreter
Reviewed-by: mcimadamore, mchung
2022-04-13 07:21:24 +00:00
vamsi-parasa
37e28aea27 8282221: x86 intrinsics for divideUnsigned and remainderUnsigned methods in java.lang.Integer and java.lang.Long
Reviewed-by: sviswanathan, kvn, jbhateja
2022-04-10 03:47:18 +00:00
Ioi Lam
662320a0ec 8284336: CDS SignedJar.java test fails due to archived Reference object
Reviewed-by: alanb, ccheung
2022-04-08 17:20:10 +00:00
Claes Redestad
a385142398 8177107: Reduce memory footprint of java.lang.reflect.Constructor/Method
Reviewed-by: darcy, shade, coleenp
2022-04-06 14:26:58 +00:00
Thomas Stuefe
9561b5e041 8284165: Add pid to process reaper thread name
Reviewed-by: rriggs
2022-04-05 03:39:39 +00:00
Jatin Bhateja
003ec21f3c 8279508: Auto-vectorize Math.round API
Reviewed-by: sviswanathan, aph
2022-04-02 18:00:33 +00:00
Dan Heidinga
fc7a17c79b 8284103: AsVarargsCollector::asCollectorCache incorrectly marked @stable
Reviewed-by: jvernee, shade
2022-04-01 12:50:21 +00:00
Xin Liu
bab431cc12 8282429: StringBuilder/StringBuffer.toString() skip compressing for UTF16 strings
Reviewed-by: djelinski, redestad
2022-04-01 04:42:03 +00:00
Mandy Chung
e61ccfba7f 8283470: Update java.lang.invoke.VarHandle to use sealed classes
Reviewed-by: darcy, psandoz
2022-03-30 17:37:42 +00:00
Mandy Chung
489b27d2c0 8282776: Bad NullPointerException message when invoking an interface MethodHandle on a null receiver
Reviewed-by: psandoz
2022-03-29 19:57:53 +00:00
Roger Riggs
f0282d7def 8279488: ProcessBuilder inherits contextClassLoader when spawning a process reaper thread
Reviewed-by: alanb
2022-03-28 15:44:54 +00:00
Joe Darcy
f16244509d 8283416: Update java.lang.invoke.MethodHandle to use sealed classes
Reviewed-by: sundar, mchung
2022-03-24 19:08:23 +00:00
Naoto Sato
0ee65e1ff3 8283465: Character.UnicodeBlock.NUM_ENTITIES is out of date
Reviewed-by: bpb, iris, smarks
2022-03-23 19:44:04 +00:00
liach
3e73a0b726 8283237: CallSite should be a sealed class
Reviewed-by: jkuhn, mchung
2022-03-23 16:43:06 +00:00
Joe Darcy
f7d21c3523 8283480: Make AbstractStringBuilder sealed
Reviewed-by: jjg, rriggs, jlaskey, dfuchs
2022-03-22 16:26:23 +00:00
Magnus Ihse Bursie
f8878cb0cc 8257733: Move module-specific data from make to respective module
Reviewed-by: jjg, weijun, naoto, erikj, prr, alanb, mchung
2022-03-21 21:34:09 +00:00
Joe Darcy
14b9e80b8a 8283415: Update java.lang.ref to use sealed classes
Reviewed-by: kbarrett, alanb
2022-03-21 16:57:17 +00:00
Claes Redestad
002e366744 8283325: US_ASCII decoder relies on String.decodeASCII being exhaustive
Reviewed-by: rriggs, dcubed
2022-03-17 21:15:36 +00:00
Joe Darcy
5ef1990d6c 8283274: Improve @jvms usage in java.base
Reviewed-by: iris
2022-03-17 16:37:20 +00:00
Claes Redestad
beedae1141 8281146: Replace StringCoding.hasNegatives with countPositives
Co-authored-by: Lutz Schmidt <lucy@openjdk.org>
Co-authored-by: Martin Doerr <mdoerr@openjdk.org>
Reviewed-by: kvn, lucy, rriggs
2022-03-17 09:20:24 +00:00
Joe Darcy
0cf291bc31 8283234: Improve @jls usage in java.base
Reviewed-by: iris
2022-03-16 16:17:50 +00:00
Joe Darcy
4df24c5df3 8283230: Improve @jls usage in ElementType
Reviewed-by: jjg, iris
2022-03-16 02:02:10 +00:00
Joe Darcy
32f8437d85 8283075: Bad IllegalArgumentException message for out of range rank from ClassDesc.arrayType(int)
Reviewed-by: vromero, alanb
2022-03-15 17:33:45 +00:00
Joe Darcy
05a83e03ca 8283124: Add constant for tau to Math and StrictMath
Reviewed-by: bpb, iris
2022-03-15 16:22:11 +00:00
Joe Darcy
671b6efd61 8283143: Use minimal-length literals to initialize PI and E constants
Reviewed-by: smarks
2022-03-15 16:05:37 +00:00
Tim Prinzing
a6f8a386ef 8281000: ClassLoader::registerAsParallelCapable throws NPE if caller is null
Reviewed-by: erikj, ihse, mchung, bchristi
2022-02-17 17:34:39 +00:00
Joe Darcy
4c7f8b49a4 8268250: Class.arrayType() for a 255-d array throws undocumented IllegalArgumentException
Reviewed-by: sundar, alanb
2022-02-17 17:12:40 +00:00
Andrey Turbanov
d0e11808fd 8282019: Unused static fields DEGREES_TO_RADIANS, RADIANS_TO_DEGREES in StrictMath
Reviewed-by: bpb, darcy
2022-02-17 12:31:37 +00:00
Joe Darcy
5ec7898dbf 8281671: Class.getCanonicalName spec should explicitly cover array classes
Reviewed-by: mchung
2022-02-16 22:02:55 +00:00
Tim Prinzing
67763df4dc 8281003: MethodHandles::lookup throws NPE if caller is null
Reviewed-by: ihse, mchung, jrose, alanb
2022-02-16 20:09:46 +00:00
Mandy Chung
980d187891 8281335: Allow a library already loaded via System::loadLibrary to be loaded as a raw library
Reviewed-by: sundar, mcimadamore
2022-02-16 18:31:32 +00:00
Aleksey Shipilev
fc77217814 8281168: Micro-optimize VarForm.getMemberName for interpreter
Reviewed-by: redestad, vlivanov, mchung
2022-02-09 06:28:00 +00:00
Roman Kennke
ce71e8b281 8279917: Refactor subclassAudits in Thread to use ClassValue
Reviewed-by: alanb, rriggs
2022-02-02 14:56:52 +00:00
Joe Darcy
9ca7ff3e4f 8281082: Improve javadoc references to JOSS
Reviewed-by: iris, rriggs, naoto, lancea
2022-02-01 22:30:08 +00:00
Mandy Chung
9c0104b9c9 8221642: AccessibleObject::setAccessible throws NPE when invoked by JNI code with no java frame on stack
Reviewed-by: alanb
2022-02-01 00:09:35 +00:00
Joe Darcy
4dbebb62aa 8280534: Enable compile-time doclint reference checking
Reviewed-by: serb, naoto, mchung, lancea, iris
2022-01-31 23:22:38 +00:00
Joe Darcy
78574057a4 8280744: Allow SuppressWarnings to be used in all declaration contexts
Reviewed-by: iris
2022-01-28 00:44:13 +00:00
Mandy Chung
a183bfb436 8280377: MethodHandleProxies does not correctly invoke default methods with varags
Reviewed-by: alanb
2022-01-26 01:24:15 +00:00
Joe Darcy
cbe8395ace 8280168: Add Objects.toIdentityString
Reviewed-by: alanb, mchung, rriggs, smarks
2022-01-25 18:15:37 +00:00
Joe Darcy
8e82d0021c 8280492: Use cross-module syntax for cross-module links
Reviewed-by: iris, serb, lancea, dfuchs, aivanov
2022-01-24 20:16:38 +00:00
Andrey Turbanov
f05ff99654 8280174: Possible NPE in Thread.dispatchUncaughtException
Reviewed-by: alanb
2022-01-24 11:10:16 +00:00
Jesper Wilhelmsson
4616c13c2f Merge 2022-01-20 01:18:38 +00:00
Julia Boes
4525a4b94d 8270392: Improve String constructions
Reviewed-by: rhalade, dfuchs, robm, ahgross, smarks
2022-01-18 23:35:35 +00:00
Claes Redestad
e314a4cfda 8280124: Reduce branches decoding latin-1 chars from UTF-8 encoded bytes
Reviewed-by: rriggs, alanb, naoto
2022-01-18 19:28:12 +00:00
Claes Redestad
71ca85f5a6 8278831: Use table lookup for the last two bytes in Integer.getChars
Reviewed-by: jlaskey, rriggs
2022-01-17 11:01:55 +00:00
Pavel Rappo
f180530935 8279918: Fix various doc typos
Reviewed-by: kevinw, lancea, mullan, sspitsyn, naoto, jlahoda, azvegint, egahlin, jjg
2022-01-14 16:10:14 +00:00
Claes Redestad
ff85659311 8279833: Loop optimization issue in String.encodeUTF8_UTF16
Reviewed-by: rriggs
Backport-of: c3d0a94040d9bd0f4b99da97b89fbfce252a41c0
2022-01-13 15:25:16 +00:00
Naoto Sato
0a094d7c28 8268081: Upgrade Unicode Data Files to 14.0.0
Reviewed-by: joehw, iris, lancea
2022-01-12 19:17:18 +00:00