1530 Commits

Author SHA1 Message Date
Naoto Sato
54dd510bd5 8269704: Typo in j.t.Normalizer.normalize()
Reviewed-by: joehw, prappo, iris
2021-07-01 12:08:21 +00:00
Mandy Chung
9ac63a6e08 8262841: Clarify the behavior of PhantomReference::refersTo
Reviewed-by: kbarrett, rriggs
2021-06-30 22:43:23 +00:00
Naoto Sato
3e022247d2 8269513: Clarify the spec wrt useOldISOCodes system property
Reviewed-by: lancea, bpb, iris, joehw
2021-06-30 22:11:58 +00:00
Jonathan Gibbons
25f9f19af9 8249646: Runtime.exec(String, String[], File) documentation contains literal {@link ...}
Reviewed-by: sundar, iris
2021-06-29 14:31:01 +00:00
Jim Laskey
e4c5446340 8268236: The documentation of the String.regionMatches method contains error
Reviewed-by: rriggs, dfuchs
2021-06-28 13:51:07 +00:00
Mandy Chung
6eb734a60f 8266269: Lookup::accessClass fails with IAE when accessing an arrayClass with a protected inner class as component class
Reviewed-by: chegar, alanb
2021-06-26 18:27:28 +00:00
Mandy Chung
3d0d27ce57 8269351: Proxy::newProxyInstance and MethodHandleProxies::asInterfaceInstance should reject sealed interfaces
Reviewed-by: darcy, alanb
2021-06-26 16:46:57 +00:00
Vicente Romero
6b14c8a1e5 8267421: j.l.constant.DirectMethodHandleDesc.Kind.valueOf(int) implementation doesn't conform to the spec regarding REF_invokeInterface handling
Reviewed-by: mchung
2021-06-22 02:08:15 +00:00
Weijun Wang
ef4ba224c4 8268349: Provide clear run-time warnings about Security Manager deprecation
Reviewed-by: lancea, mullan, alanb
2021-06-22 02:06:59 +00:00
Joe Darcy
31a055e67a 8268736: Use apiNote in AutoCloseable.close javadoc
Reviewed-by: bpb, naoto
2021-06-15 18:52:54 +00:00
Patrick Concannon
d43c8a74b3 8268124: Update java.lang to use switch expressions
Reviewed-by: naoto, darcy, mchung, iris, lancea, dfuchs
2021-06-10 11:12:37 +00:00
Jorn Vernee
ab01cb547d 8268339: Upstream: 8267989: Exceptions thrown during upcalls should be handled
Reviewed-by: psandoz, mcimadamore
2021-06-10 08:44:28 +00:00
Dan Smith
58ba48b7b8 8268192: LambdaMetafactory with invokespecial causes VerificationError
Reviewed-by: psandoz, mchung
2021-06-09 23:57:41 +00:00
Roger Riggs
13d6180421 8264859: Implement Context-Specific Deserialization Filters
Reviewed-by: bchristi, dfuchs, chegar
2021-06-09 12:30:07 +00:00
Patrick Concannon
438895903b 8268056: Update java.net and java.nio to use switch expressions
Reviewed-by: dfuchs, michaelm, chegar, iris, alanb
2021-06-09 10:13:25 +00:00
Dan Smith
fc08af58cb 8174222: LambdaMetafactory: validate inputs and improve documentation
Reviewed-by: mchung
2021-06-07 23:21:24 +00:00
Roger Riggs
81600dce24 8191441: (Process) add Readers and Writer access to java.lang.Process streams
Reviewed-by: naoto, alanb
2021-06-07 17:41:09 +00:00
Jan Lahoda
908aca29ca 8262891: Compiler implementation for Pattern Matching for switch (Preview)
Co-authored-by: Brian Goetz <briangoetz@openjdk.org>
Co-authored-by: Mandy Chung <mchung@openjdk.org>
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Reviewed-by: mcimadamore, forax, godin, psandoz, mchung
2021-06-07 07:01:30 +00:00
Stephen Colebourne
6c838c568c 8266846: Add java.time.InstantSource
Reviewed-by: rriggs, naoto, darcy
2021-06-05 13:26:52 +00:00
Stuart Marks
cd0678fcf6 8199318: add idempotent copy operation for Map.Entry
Reviewed-by: alanb, psandoz, dfuchs
2021-06-04 17:13:05 +00:00
Maurizio Cimadamore
59a539fef1 8268129: LibraryLookup::ofDefault leaks symbols from loaded libraries
Reviewed-by: jvernee, psandoz
2021-06-04 12:53:17 +00:00
Joe Darcy
05df1727b5 8268224: Cleanup references to "strictfp" in core lib comments
Reviewed-by: jrose
2021-06-04 02:04:04 +00:00
Paul Sandoz
c1f3094f81 8267939: Clarify the specification of iterator and spliterator forEachRemaining
Reviewed-by: smarks
2021-06-03 22:03:35 +00:00
Mandy Chung
b95586559c 8267995: Add reference to JVMS class file format in Lookup::defineHiddenClass
Reviewed-by: darcy
2021-06-03 20:43:12 +00:00
Raffaello Giulietti
5405f983db 8268077: java.util.List missing from Collections Framework Overview
Reviewed-by: smarks
2021-06-03 16:08:33 +00:00
Brian Burkhalter
56b65e4a8d 8267569: java.io.File.equals contains misleading Javadoc
Reviewed-by: alanb, dfuchs, bchristi, naoto
2021-06-02 16:33:21 +00:00
Weijun Wang
508cec7535 8267521: Post JEP 411 refactoring: maximum covering > 50K
Reviewed-by: dfuchs, prr
2021-06-02 15:48:50 +00:00
Weijun Wang
40d23a0c0b 8267543: Post JEP 411 refactoring: security
Reviewed-by: mullan
2021-06-02 15:47:57 +00:00
Weijun Wang
6765f90250 8266459: Implement JEP 411: Deprecate the Security Manager for Removal
Co-authored-by: Sean Mullan <mullan@openjdk.org>
Co-authored-by: Lance Andersen <lancea@openjdk.org>
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Reviewed-by: erikj, darcy, chegar, naoto, joehw, alanb, mchung, kcr, prr, lancea
2021-06-02 11:57:31 +00:00
Maurizio Cimadamore
a223189b06 8264774: Implementation of Foreign Function and Memory API (Incubator)
Co-authored-by: Paul Sandoz <psandoz@openjdk.org>
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Vladimir Ivanov <vlivanov@openjdk.org>
Co-authored-by: Athijegannathan Sundararajan <sundar@openjdk.org>
Co-authored-by: Chris Hegarty <chegar@openjdk.org>
Reviewed-by: psandoz, chegar, mchung, vlivanov
2021-06-02 10:53:06 +00:00
Gavin Bierman
379376f078 8265130: Make ConstantDesc class hierarchy sealed
Reviewed-by: mchung, jvernee, vromero
2021-06-02 00:49:49 +00:00
Joe Darcy
0ae4ceb413 8244146: javac changes for JEP 306
8266399: Core libs update for JEP 306

Reviewed-by: sadayapalam, bpb, naoto
2021-06-01 21:59:39 +00:00
Patrick Concannon
4eb216824f 8267670: Update java.io, java.math, and java.text to use switch expressions
Reviewed-by: darcy, chegar, naoto, iris, dfuchs, lancea, vtewari
2021-06-01 10:14:56 +00:00
Tagir F. Valeev
ab5a7ff230 8267587: Update java.util to use enhanced switch
Reviewed-by: iris
2021-05-31 08:48:38 +00:00
Tagir F. Valeev
0c9daa7ed5 8265029: Preserve SIZED characteristics on slice operations (skip, limit)
Reviewed-by: psandoz
2021-05-28 01:56:38 +00:00
Claes Redestad
95b1fa7a88 8267529: StringJoiner can create a String that breaks String::equals
Reviewed-by: naoto
2021-05-27 23:09:22 +00:00
Сергей Цыпанов
ae258f1e6a 8265418: Clean-up redundant null-checks of Class.getPackageName()
Reviewed-by: redestad
2021-05-27 20:21:34 +00:00
Naoto Sato
bea4109ef7 8187649: ArrayIndexOutOfBoundsException in java.util.JapaneseImperialCalendar
Reviewed-by: joehw, rriggs
2021-05-27 13:18:34 +00:00
Jorn Vernee
3623abb7f6 8263087: Add a MethodHandle combinator that switches over a set of MethodHandles
Reviewed-by: redestad
2021-05-27 12:28:10 +00:00
Mark Reinhold
e63023546a 8266851: Implement JEP 403: Strongly Encapsulate JDK Internals
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Reviewed-by: mchung, alanb, hseigel
2021-05-26 20:55:53 +00:00
Naoto Sato
a4c46e1e4f 8263202: Update Hebrew/Indonesian/Yiddish ISO 639 language codes to current
Reviewed-by: joehw
2021-05-26 15:52:39 +00:00
Tagir F. Valeev
ac36b7d3e2 8267452: Delegate forEachRemaining in Spliterators.iterator()
Reviewed-by: psandoz
2021-05-26 01:17:02 +00:00
Joe Darcy
0b77359384 8224243: Add implSpec's to AccessibleObject and seal Executable
Reviewed-by: alanb
2021-05-25 18:04:47 +00:00
Claes Redestad
66b190e1e7 8267612: Declare package-private VarHandle.AccessMode/AccessType counts
Reviewed-by: mchung
2021-05-25 11:47:33 +00:00
Patrick Concannon
a52c4ede2f 8267110: Update java.util to use instanceof pattern variable
Reviewed-by: lancea, naoto
2021-05-25 08:24:49 +00:00
Claes Redestad
c519ba2e43 8267614: Outline VarHandleGuards exact behavior checks
Reviewed-by: psandoz, mchung
2021-05-24 23:02:40 +00:00
Vicente Romero
f04db5fbd7 8224158: assertion related to NPE at DynamicCallSiteDesc::withArgs should be reworded
Reviewed-by: jlahoda
2021-05-24 15:55:04 +00:00
Sergey Tsypanov
9425d3de83 8261880: Change nested classes in java.base to static nested classes where possible
Reviewed-by: redestad
2021-05-20 13:56:11 +00:00
Vicente Romero
0fa9223f34 8260517: implement Sealed Classes as a standard feature in Java
Co-authored-by: Harold Seigel <hseigel@openjdk.org>
Co-authored-by: Vicente Romero <vromero@openjdk.org>
Reviewed-by: dholmes, mcimadamore, jlahoda
2021-05-20 09:11:08 +00:00
Claes Redestad
9760dba71c 8267321: Use switch expression for VarHandle$AccessMode lookup
Reviewed-by: jvernee
2021-05-19 15:23:44 +00:00