933 Commits

Author SHA1 Message Date
Sergey Tsypanov
ece98d859d 8278461: Use Executable.getSharedParameterTypes() instead of Executable.getParameterTypes() in trusted code
Reviewed-by: redestad
2022-01-12 10:16:37 +00:00
Claes Redestad
c3d0a94040 8279833: Loop optimization issue in String.encodeUTF8_UTF16
Reviewed-by: shade, alanb
2022-01-11 14:49:03 +00:00
Jesper Wilhelmsson
d9b1bb5860 Merge 2022-01-10 17:06:23 +00:00
Vladimir Ivanov
ad34f03b54 8279515: C1: No inlining through invokedynamic and invokestatic call sites when resolved class is not linked
Reviewed-by: kvn, dlong
2022-01-10 13:56:01 +00:00
Jesper Wilhelmsson
844dfb3ab6 Merge 2022-01-06 01:26:50 +00:00
Maurizio Cimadamore
9d43d25da8 8278897: Alignment of heap segments is not enforced correctly
Reviewed-by: jvernee
2022-01-05 10:47:34 +00:00
Hendrik Schreiber
c295e71b49 8276700: Improve java.lang.ref.Cleaner javadocs
Reviewed-by: rriggs, mchung
2022-01-03 15:57:34 +00:00
Jesper Wilhelmsson
803cb8a768 Merge 2021-12-21 21:58:05 +00:00
Joe Darcy
517967284c 8278953: Clarify Class.getDeclaredConstructor specification
Reviewed-by: mchung, alanb
2021-12-21 00:25:56 +00:00
liach
905b763942 8261404: Class.getReflectionFactory() is not thread-safe
Reviewed-by: rriggs, mchung
2021-12-17 22:23:33 +00:00
Mark Reinhold
f5d7c777bc 8276826: Clarify the ModuleDescriptor.Version specification’s treatment of repeated punctuation characters
Reviewed-by: mchung, darcy
2021-12-17 00:34:03 +00:00
Vicente Romero
03bf55f620 8277980: ObjectMethods::bootstrap throws NPE when lookup is null
Reviewed-by: jjg
2021-12-08 22:49:43 +00:00
Stuart Marks
d7ad546758 8276422: Add command-line option to disable finalization
Co-authored-by: David Holmes <dholmes@openjdk.org>
Co-authored-by: Brent Christian <bchristi@openjdk.org>
Reviewed-by: dholmes, kbarrett, bchristi
2021-12-08 00:27:53 +00:00
Brent Christian
ec7cb6d5d3 8276447: Deprecate finalization-related methods for removal
Reviewed-by: rriggs, alanb, lancea, darcy, mchung, serb, smarks, prr
2021-12-08 00:23:15 +00:00
Sergey Tsypanov
73a9654c26 8276806: Use Objects.checkFromIndexSize where possible in java.base
Reviewed-by: rriggs, lancea
2021-12-02 20:00:49 +00:00
Alan Bateman
fde0b95ede 8277861: Terminally deprecate Thread.stop
Reviewed-by: rriggs, mchung, uschindler, dholmes
2021-12-01 08:44:51 +00:00
Petr Portnov
e30e676709 8277606: String(String) constructor could copy hashIsZero
Reviewed-by: redestad, rriggs
2021-11-30 20:50:13 +00:00
Maurizio Cimadamore
96e36071b6 8275063: Implementation of Foreign Function & Memory API (Second incubator)
Reviewed-by: erikj, psandoz, jvernee, darcy
2021-11-24 11:51:16 +00:00
Vicente Romero
7b67a49f83 8261847: performance of java.lang.Record::toString should be improved
Reviewed-by: jlaskey, redestad
2021-11-23 15:23:23 +00:00
Naoto Sato
b8453ebdb4 8275007: Java fails to start with null charset if LC_ALL is set to certain locales
Reviewed-by: rriggs, iris, joehw, alanb
2021-11-18 01:13:26 +00:00
Andrey Turbanov
5a2452c80e 8274835: Remove unnecessary castings in java.base
Reviewed-by: mullan, naoto, lancea, bpb
2021-11-12 16:30:56 +00:00
Aleksei Efimov
2ca4ff87b7 8244202: Implementation of JEP 418: Internet-Address Resolution SPI
Co-authored-by: Chris Hegarty <chegar@openjdk.org>
Co-authored-by: Daniel Fuchs <dfuchs@openjdk.org>
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Reviewed-by: dfuchs, alanb, michaelm, chegar
2021-11-11 14:33:58 +00:00
Masanori Yano
e198594753 8250678: ModuleDescriptor.Version parsing treats empty segments inconsistently
Reviewed-by: mchung, alanb
2021-11-09 14:28:07 +00:00
Roger Riggs
7e73bca0b7 8276408: Deprecate Runtime.exec methods with a single string command line argument
Reviewed-by: alanb
2021-11-08 16:39:07 +00:00
Jaikiran Pai
396132ff1e 8275509: ModuleDescriptor.hashCode isn't reproducible across builds
Reviewed-by: alanb, ihse
2021-11-05 03:44:45 +00:00
Ludvig Janiuk
8ec80c4bc1 8276653: Missing row headers in j.l.Character docs
Reviewed-by: naoto
2021-11-04 21:06:03 +00:00
Ludvig Janiuk
7e87f946ce 8276652: Missing row headers in MethodHandles.Lookup docs
Reviewed-by: mchung
2021-11-04 20:46:23 +00:00
Ludvig Janiuk
99d4b07cdd 8276649: MethodHandles.Lookup docs: replace the table in the cross-module access check section with list
Reviewed-by: mchung
2021-11-04 17:26:18 +00:00
Pavel Rappo
bf4ddf9cb7 8276338: Minor improve of wording for String.to(Lower|Upper)Case
Reviewed-by: rriggs, naoto
2021-11-04 15:51:37 +00:00
Pavel Rappo
615063364a 8276348: Use blessed modifier order in java.base
Reviewed-by: dfuchs, darcy, iris, rriggs, martin
2021-11-03 10:07:48 +00:00
Naoto Sato
495c828ae9 8276188: Clarify "default charset" descriptions in String class
Reviewed-by: iris, joehw
2021-11-02 16:08:11 +00:00
Mandy Chung
21da218387 8274848: LambdaMetaFactory::metafactory on REF_invokeSpecial impl method has incorrect behavior
Reviewed-by: psandoz, dlsmith
2021-10-28 22:24:56 +00:00
Mandy Chung
c6339cb8a2 8271820: Implementation of JEP 416: Reimplement Core Reflection with Method Handle
8013527: calling MethodHandles.lookup on itself leads to errors

Co-authored-by: Peter Levart <plevart@openjdk.org>
Co-authored-by: Claes Redestad <redestad@openjdk.org>
Co-authored-by: Mandy Chung <mchung@openjdk.org>
Reviewed-by: mcimadamore, plevart, egahlin, redestad, cjplummer, alanb
2021-10-28 18:32:50 +00:00
Weijun Wang
d589b664cc 8270380: Change the default value of the java.security.manager system property to disallow
Reviewed-by: lancea, mullan, rriggs
2021-10-21 14:04:48 +00:00
vamsi-parasa
af7c56b85b 8275167: x86 intrinsic for unsignedMultiplyHigh
Reviewed-by: kvn, sviswanathan
2021-10-20 22:40:51 +00:00
Harold Seigel
bbc606117f 8272614: Unused parameters in MethodHandleNatives linking methods
Reviewed-by: dholmes, lfoltan
2021-10-20 15:48:43 +00:00
Markus Grönlund
72a976ef05 8266936: Add a finalization JFR event
Reviewed-by: coleenp, mchung, egahlin
2021-10-18 16:52:36 +00:00
Andrey Turbanov
7d2633f795 8275002: Remove unused AbstractStringBuilder.MAX_ARRAY_SIZE
Reviewed-by: prappo, jlaskey, martin
2021-10-12 09:37:54 +00:00
Peter Levart
7ad74d82d7 8274299: Make Method/Constructor/Field accessors @Stable
Reviewed-by: redestad, mchung
2021-10-05 14:16:20 +00:00
Andrey Turbanov
355356c405 8273435: Remove redundant zero-length check in ClassDesc.of
Reviewed-by: rriggs
2021-09-29 23:08:23 +00:00
Claes Redestad
aaa36cc006 8274242: Implement fast-path for ASCII-compatible CharsetEncoders on x86
Reviewed-by: naoto, thartmann
2021-09-29 12:58:14 +00:00
Pavel Rappo
c880b87a20 8274367: Re-indent stack-trace examples for Throwable.printStackTrace
Reviewed-by: mchung, iris, darcy, bpb
2021-09-27 22:32:49 +00:00
Pavel Rappo
8799856528 8274075: Fix miscellaneous typos in java.base
Reviewed-by: dfuchs, darcy, iris, lancea, bpb
2021-09-23 08:08:39 +00:00
Raffaello Giulietti
da38ced329 8271602: Add Math.ceilDiv() family parallel to Math.floorDiv() family
Reviewed-by: bpb
2021-09-22 16:16:14 +00:00
Roger Riggs
33df388a24 8274003: ProcessHandleImpl.Info toString has an if check which is always true
Reviewed-by: bpb, naoto, iris
2021-09-22 13:57:37 +00:00
Pavel Rappo
c6df3c9571 8274071: Clean up java.lang.ref comments and documentation
Reviewed-by: rriggs, kbarrett, mchung, iris, lancea
2021-09-22 13:42:23 +00:00
Joe Darcy
9c91ff57e8 8274031: Typo in StringBuilder.readObject
Reviewed-by: bpb
2021-09-21 02:23:52 +00:00
Sergey Tsypanov
4c673df31e 8273656: Improve java.lang.invoke.MethodType.parameterList() and its usage
Reviewed-by: jvernee, vlivanov, mchung
2021-09-15 11:11:15 +00:00
Pavel Rappo
b4b121018d 8273616: Fix trivial doc typos in the java.base module
Reviewed-by: jrose, iris, lancea, dfuchs, rriggs
2021-09-13 17:46:13 +00:00
Naoto Sato
4cfa230e2d 8273259: Character.getName doesn't follow Unicode spec for ideographs
Reviewed-by: bpb, lancea, iris, darcy
2021-09-13 16:06:10 +00:00