2835 Commits

Author SHA1 Message Date
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
Sergey Tsypanov
c06db45fa7 8267921: Remove redundant loop from sun.reflect.misc.ReflectUtil.privateCheckPackageAccess()
Reviewed-by: alanb, mchung
2021-05-31 16:58:38 +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
Stuart Marks
7c85f3510c 8267123: Remove RMI Activation
Reviewed-by: erikj, rriggs, alanb
2021-05-27 15:19:45 +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
Bradford Wetmore
b33b8bc88d 8267750: Incomplete fix for JDK-8267683
Reviewed-by: jnimeh
2021-05-26 03:17:32 +00:00
Tagir F. Valeev
ac36b7d3e2 8267452: Delegate forEachRemaining in Spliterators.iterator()
Reviewed-by: psandoz
2021-05-26 01:17:02 +00:00
Bradford Wetmore
e751b7b1b6 8267683: rfc7301Grease8F value not displayed correctly in SSLParameters javadoc
Reviewed-by: coffeys
2021-05-25 19:38:00 +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
Jaikiran Pai
0a03fc84b3 8255674: SSLEngine class description is missing "case" in switch statement
Reviewed-by: xuelei
2021-05-25 07:40:48 +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
Hai-May Chao
f2d880c11a 8266400: importkeystore fails to a password less pkcs12 keystore
Reviewed-by: weijun
2021-05-24 15:38:32 +00:00
Jaroslav Bachorik
ee2651b9e5 8203359: Container level resources events
Reviewed-by: sgehwolf, egahlin
2021-05-21 09:44:45 +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
Jatin Bhateja
7aa65685b8 8256973: Intrinsic creation for VectorMask query (lastTrue,firstTrue,trueCount) APIs
Reviewed-by: psandoz, vlivanov
2021-05-19 05:22:02 +00:00
Brian Burkhalter
da4dfde71a 8264777: Overload optimized FileInputStream::readAllBytes
Reviewed-by: dfuchs, alanb
2021-05-17 19:58:41 +00:00
Athijegannathan Sundararajan
af4cd04c2e 8266291: (jrtfs) Calling Files.exists may break the JRT filesystem
Reviewed-by: redestad, alanb
2021-05-14 12:59:41 +00:00
Сергей Цыпанов
ebcf3991b7 8266622: Optimize Class.descriptorString() and Class.getCanonicalName0()
Reviewed-by: redestad
2021-05-14 12:29:23 +00:00
Ioi Lam
1e0ecd6d56 8265605: Cannot call BootLoader::loadClassOrNull before initPhase2
Reviewed-by: alanb, mchung
2021-05-14 06:26:41 +00:00
Jim Laskey
b4371e9bca 8266552: Technical corrections to java/util/random/package-info.java
Reviewed-by: darcy
2021-05-13 13:42:53 +00:00
Harold Seigel
e14b026841 8243287: Removal of Unsafe::defineAnonymousClass
Reviewed-by: iklam, mchung, alanb, dholmes
2021-05-13 12:46:54 +00:00
Liam Miller-Cushon
d0daa72592 8266857: PipedOutputStream.sink should be volatile
Reviewed-by: dfuchs
2021-05-11 15:47:14 +00:00
Jim Laskey
0cc7833f3d 8265208: [JEP-356] : SplittableRandom and SplittableGenerators - splits() methods does not throw NullPointerException when source is null
Reviewed-by: rriggs
2021-05-10 18:52:02 +00:00
Naoto Sato
c494efc5b5 8266774: System property values for stdout/err on Windows UTF-8
Reviewed-by: bpb, alanb
2021-05-10 16:25:30 +00:00
Vyom Tewari
b823b3ef29 8266797: Fix for 8266610 breaks the build on macos
Reviewed-by: dholmes, jdv
2021-05-10 13:40:28 +00:00
Alexey Bakhtin
1603ca2342 8241248: NullPointerException in sun.security.ssl.HKDF.extract(HKDF.java:93)
Reviewed-by: jnimeh, xuelei
2021-05-10 09:45:35 +00:00
Vyom Tewari
69b96f9a1b 8266610: Method RandomAccessFile#length() returns 0 for block devices on linux.
Reviewed-by: alanb, bpb
2021-05-10 03:51:04 +00:00
Alan Bateman
be4f25b0c8 8266369: (se) Add wepoll based Selector
Reviewed-by: chegar, michaelm, vtewari, dfuchs, bpb
2021-05-08 07:14:36 +00:00
Brian Burkhalter
b5b31197e5 8266589: (fs) Improve performance of Files.copy() on macOS using copyfile(3)
Reviewed-by: alanb
2021-05-07 15:23:38 +00:00
Patrick Concannon
86b8dc9f5b 8265426: Update java.security to use instanceof pattern variable
Reviewed-by: rriggs, weijun, dfuchs
2021-05-07 13:42:40 +00:00
Hannes Wallnöfer
e0c86884e5 8262992: Improve @see output
Reviewed-by: jjg
2021-05-07 10:45:48 +00:00
Yumin Qi
43ad24feb2 8265465: jcmd VM.cds should keep already dumped archive when exception happens
Reviewed-by: iklam, ccheung
2021-05-07 03:01:32 +00:00
Weijun Wang
04f7112647 8266293: Key protection using PBEWithMD5AndDES fails with "java.security.InvalidAlgorithmParameterException: Salt must be 8 bytes long"
Reviewed-by: valeriep
2021-05-06 18:00:11 +00:00
Yasumasa Suenaga
0f9852c63b 8266168: -Wmaybe-uninitialized happens in check_code.c
Reviewed-by: stuefe
2021-05-06 11:54:32 +00:00
Athijegannathan Sundararajan
c9873c416d 8260621: (jrtfs) ThreadLocal memory leak in ImageBufferCache when using jrtfs
Reviewed-by: jlaskey, vtewari
2021-05-05 10:10:05 +00:00