Commit Graph

5750 Commits

Author SHA1 Message Date
Paul Sandoz
1866c0c2ce 8344259: Annotate Float16 with jdk.internal.ValueBased
Reviewed-by: liach, darcy
2024-11-15 17:22:11 +00:00
Brian Burkhalter
0b9b82af03 8343039: Remove jdk.internal.misc.InternalLock and usages from java.io
Reviewed-by: liach, alanb
2024-11-15 16:11:34 +00:00
Adam Sotona
3c38ed4128 8344314: Revert removal of jdk.internal.java.PreviewFeature.CLASSFILE_API
Reviewed-by: liach
2024-11-15 15:57:34 +00:00
Adam Sotona
84ffb64cd7 8334714: Implement JEP 484: Class-File API
Reviewed-by: liach, vromero
2024-11-15 14:38:17 +00:00
Eirik Bjørsnøs
5e2760856c 8344188: Cleanup sun.net.www.protocol.jar.JarFileFactory after JEP 486 integration
Reviewed-by: jpai, dfuchs
2024-11-15 12:18:53 +00:00
Adam Sotona
ba39321902 8343881: java.lang.classfile.Attribute attributeName() method should return Utf8Entry
Reviewed-by: liach
2024-11-15 11:40:15 +00:00
Eirik Bjørsnøs
0c191f6629 8344185: Remove calls to SecurityManager in sun.net.ftp
Reviewed-by: alanb, michaelm, dfuchs
2024-11-15 09:47:43 +00:00
Eirik Bjørsnøs
857f68c60f 8344179: SecurityManager cleanup in the ZIP and JAR areas
Reviewed-by: lancea, rriggs, mullan, jpai
2024-11-15 07:47:11 +00:00
Alan Bateman
0ae5748f74 8343982: Remove usage of security manager from ClassLoader and related classes
Reviewed-by: jpai, yzheng, lancea
2024-11-15 07:16:34 +00:00
Phil Race
99070658fd 8344065: Remove SecurityManager uses from the java.datatransfer module
Reviewed-by: serb
2024-11-15 04:51:55 +00:00
Chen Liang
681a57f960 8343064: ClassFormatError: Illegal class name from InnerClassLambdaMetafactory
Reviewed-by: jvernee
2024-11-14 17:55:41 +00:00
Artur Barashev
697f27c5d5 8341964: Add mechanism to disable different parts of TLS cipher suite
Reviewed-by: mullan, ascarpino
2024-11-14 17:44:13 +00:00
Brian Burkhalter
7e9dfa4ae4 8343785: (fs) Remove syscalls that set file times with microsecond precision
Reviewed-by: alanb
2024-11-14 16:27:22 +00:00
Jan Lahoda
5731ab7fed 8335991: Implement Simple Source Files and Instance Main Methods (Fourth Preview)
Reviewed-by: asotona, jpai
2024-11-14 11:33:29 +00:00
Raffaello Giulietti
8523880f06 8342693: Use byte[] as parameter in a FDBigInteger constructor and as field
Reviewed-by: darcy
2024-11-14 10:50:37 +00:00
Dr Heinz M. Kabutz
2b57f402c4 8343426: ConcurrentSkipListMap.spliterator() can no longer split the stream
Co-authored-by: Doug Lea <dl@openjdk.org>
Reviewed-by: vklang
2024-11-14 09:17:02 +00:00
Jan Lahoda
c3776db498 8342936: Enhance java.io.IO with parameter-less println() and readln()
Reviewed-by: asotona, jpai, naoto
2024-11-14 08:22:51 +00:00
Alan Bateman
abacece826 8344011: Remove usage of security manager from Class and reflective APIs
Reviewed-by: liach, yzheng, rriggs
2024-11-14 07:39:28 +00:00
Jan Lahoda
1e97c1c913 8335989: Implement JEP 494: Module Import Declarations (Second Preview)
Reviewed-by: vromero, abimpoudis, mcimadamore, alanb
2024-11-14 06:14:33 +00:00
Shaojin Wen
0dab920b70 8343984: Fix Unsafe address overflow
Reviewed-by: pminborg, alanb
2024-11-13 23:17:26 +00:00
Roger Riggs
168b18ec68 8343958: Remove security manager impl in java.lang.Process and java.lang.Runtime.exec
Reviewed-by: jpai, mullan, alanb
2024-11-13 20:49:59 +00:00
Roger Riggs
5ac330b1ac 8344039: Remove security manager dependency in java.time
Reviewed-by: naoto, mullan, lancea
2024-11-13 20:03:26 +00:00
Alan Bateman
5e01c40b19 8343981: Remove usage of security manager from Thread and related classes
Reviewed-by: rriggs, yzheng
2024-11-13 18:49:31 +00:00
Alan Bateman
7be77725ea 8344112: Remove code to support security manager execution mode from DatagramChannel implementation
Reviewed-by: dfuchs
2024-11-13 16:50:54 +00:00
Per Minborg
bd3fec3075 8344086: Remove security manager dependency in FFM
Reviewed-by: mcimadamore, rriggs, jvernee
2024-11-13 16:42:48 +00:00
Vicente Romero
cc2acd14b1 8343286: Missing unchecked cast warning in polymorphic method call
Reviewed-by: mcimadamore
2024-11-13 15:31:02 +00:00
Magnus Ihse Bursie
79345bbbae 8339783: Implement JEP 479: Remove the Windows 32-bit x86 Port
Reviewed-by: kbarrett, kvn, stuefe, shade, erikj
2024-11-13 09:41:57 +00:00
Sean Mullan
db85090553 8338411: Implement JEP 486: Permanently Disable the Security Manager
Co-authored-by: Sean Mullan <mullan@openjdk.org>
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Co-authored-by: Aleksei Efimov <aefimov@openjdk.org>
Co-authored-by: Brian Burkhalter <bpb@openjdk.org>
Co-authored-by: Daniel Fuchs <dfuchs@openjdk.org>
Co-authored-by: Harshitha Onkar <honkar@openjdk.org>
Co-authored-by: Joe Wang <joehw@openjdk.org>
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Justin Lu <jlu@openjdk.org>
Co-authored-by: Kevin Walls <kevinw@openjdk.org>
Co-authored-by: Lance Andersen <lancea@openjdk.org>
Co-authored-by: Naoto Sato <naoto@openjdk.org>
Co-authored-by: Roger Riggs <rriggs@openjdk.org>
Co-authored-by: Brent Christian <bchristi@openjdk.org>
Co-authored-by: Stuart Marks <smarks@openjdk.org>
Co-authored-by: Ian Graves <igraves@openjdk.org>
Co-authored-by: Phil Race <prr@openjdk.org>
Co-authored-by: Erik Gahlin <egahlin@openjdk.org>
Co-authored-by: Jaikiran Pai <jpai@openjdk.org>
Reviewed-by: kevinw, aivanov, rriggs, lancea, coffeys, dfuchs, ihse, erikj, cjplummer, coleenp, naoto, mchung, prr, weijun, joehw, azvegint, psadhukhan, bchristi, sundar, attila
2024-11-12 17:16:15 +00:00
Patricio Chilano Mateo
78b80150e0 8338383: Implement JEP 491: Synchronize Virtual Threads without Pinning
Co-authored-by: Patricio Chilano Mateo <pchilanomate@openjdk.org>
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Co-authored-by: Andrew Haley <aph@openjdk.org>
Co-authored-by: Fei Yang <fyang@openjdk.org>
Co-authored-by: Coleen Phillimore <coleenp@openjdk.org>
Co-authored-by: Richard Reingruber <rrich@openjdk.org>
Co-authored-by: Martin Doerr <mdoerr@openjdk.org>
Reviewed-by: aboldtch, dholmes, coleenp, fbredberg, dlong, sspitsyn
2024-11-12 15:23:48 +00:00
Dr Heinz M. Kabutz
5729227651 8343250: ArrayBlockingQueue serialization not thread safe
Reviewed-by: rriggs, alanb
2024-11-12 11:34:11 +00:00
Viktor Klang
ef0dc2518e 8342707: Prepare Gatherers for graduation from Preview
Reviewed-by: alanb, liach
2024-11-11 19:57:26 +00:00
Shaojin Wen
b0a371b085 8343925: [BACKOUT] JDK-8342650 Move getChars to DecimalDigits
Reviewed-by: jpai, alanb, liach
2024-11-11 15:14:10 +00:00
Shaojin Wen
e1d684c645 8342650: Move getChars to DecimalDigits
Reviewed-by: liach
2024-11-11 05:06:56 +00:00
Jaikiran Pai
ca69a53b76 8211033: Clean up the processing -classpath argument not to set LM_CLASS
Reviewed-by: alanb
2024-11-11 04:31:56 +00:00
Shaojin Wen
74ae3c688b 8343650: Reuse StringLatin1::putCharsAt and StringUTF16::putCharsAt
Reviewed-by: liach
2024-11-11 00:40:26 +00:00
Eirik Bjørsnøs
8a69893e1d 8343819: Link Float.NaN and Double.NaN to equivalence discussion in Double
Reviewed-by: darcy
2024-11-09 05:53:16 +00:00
Naoto Sato
0329855831 8343804: Show the default time zone with -XshowSettings option
Reviewed-by: iris, jpai
2024-11-08 20:22:24 +00:00
Jaikiran Pai
068f4ce8bc 8343293: Remove the check for <apphome>/jre/lib/libjava.dylib from the launcher's java_md_macosx.m
Reviewed-by: bpb, rriggs
2024-11-08 04:04:34 +00:00
Kevin Driver
2c7bea1cb2 8343772: Expected IAPE not thrown in KDF.getInstance (TCK)
Reviewed-by: valeriep
2024-11-07 19:27:35 +00:00
Brian Burkhalter
56c588b4e8 8343417: (fs) BasicFileAttributeView.setTimes uses microsecond precision with NOFOLLOW_LINKS
Reviewed-by: alanb
2024-11-07 17:19:27 +00:00
Quan Anh Mai
1d117f65f0 8343394: Make MemorySessionImpl.state a stable field
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Reviewed-by: mcimadamore, jvernee
2024-11-07 14:32:18 +00:00
Per Minborg
619b4d5966 8334107: Specification for MemorySegment::get/setString could use some clarification
Reviewed-by: jvernee
2024-11-07 07:25:41 +00:00
Jaikiran Pai
9e31e78e39 8342647: [macosx] Clean up the NSInvocation based call to NSProcessInfo.operatingSystemVersion
Reviewed-by: bchristi
2024-11-07 00:51:06 +00:00
Nizar Benalla
69bc088774 8343071: Broken anchors to restricted method page and some redundant ids
8332747: Broken links in StructuredTaskScope

Reviewed-by: mcimadamore, iris
2024-11-05 21:43:11 +00:00
Kevin Driver
2a1ae0ff89 8331008: Implement JEP 478: Key Derivation Function API (Preview)
Co-authored-by: Rajan Halade <rhalade@openjdk.org>
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Co-authored-by: Valerie Peng <valeriep@openjdk.org>
Reviewed-by: weijun, valeriep
2024-11-05 21:07:52 +00:00
Andrew Haley
3fab8e37bb 8341903: Implementation of Scoped Values (Fourth Preview)
Reviewed-by: alanb
2024-11-05 17:12:17 +00:00
Archie Cobbs
f95097cc64 8343482: Remove unnecessary @SuppressWarnings annotations (net)
Reviewed-by: dfuchs
2024-11-05 15:46:00 +00:00
Archie Cobbs
c799cad1de 8343486: Remove unnecessary @SuppressWarnings annotations and -Xlint:-foo options
Reviewed-by: ihse
2024-11-05 15:44:54 +00:00
Shaojin Wen
5890d9438b 8333893: Optimization for StringBuilder append boolean & null
Reviewed-by: liach
2024-11-05 15:05:33 +00:00
Chen Liang
16feeb7a8e 8343547: Restore accidentally removed annotations in LambdaForm from ClassFile API port
Reviewed-by: asotona
2024-11-05 12:15:42 +00:00
Shaojin Wen
67907d5e89 8343500: Optimize ArrayClassDescImpl computeDescriptor
Reviewed-by: liach
2024-11-05 00:29:08 +00:00
Artur Barashev
8b4749713c 8331682: Slow networks/Impatient clients can potentially send unencrypted TLSv1.3 alerts that won't parse on the server
Reviewed-by: wetmore, djelinski, xuelei
2024-11-04 18:46:38 +00:00
Jiangli Zhou
774de278f7 8343497: Missing DEF_STATIC_JNI_OnLoad in libjimage and libsaproc native libraries
Reviewed-by: ihse
2024-11-04 17:58:22 +00:00
Archie Cobbs
1cc3586c53 8343551: Missing copyright header update in Charset-X-Coder.java.template
Reviewed-by: iris
2024-11-04 17:32:11 +00:00
Naoto Sato
1c4483473d 8333582: Update CLDR to Version 46.0
Reviewed-by: joehw, srl, jlu
2024-11-04 17:00:44 +00:00
Archie Cobbs
23fa1a3327 8343484: Remove unnecessary @SuppressWarnings annotations (nio)
Reviewed-by: alanb
2024-11-04 16:13:10 +00:00
Per Minborg
646d64e880 8340307: Add explanation around MemorySegment:reinterpret regarding arenas
Reviewed-by: jvernee
2024-11-04 14:12:30 +00:00
Chen Liang
8d6cfba37f 8336267: Method and Constructor signature parsing can be shared on the root object
Reviewed-by: mchung
2024-11-04 13:24:29 +00:00
Chen Liang
1f7d524fd3 8343437: ClassDesc.of incorrectly permitting empty names
Reviewed-by: mchung
2024-11-04 13:24:09 +00:00
Per Minborg
f69b6016d6 8343188: Investigate ways to simplify MemorySegment::ofBuffer
Reviewed-by: mcimadamore
2024-11-04 11:06:25 +00:00
Adam Sotona
f9e1c62dcd 8343436: Regression in StackMapGenerator after JDK-8339205
Reviewed-by: liach
2024-11-04 07:19:23 +00:00
Michael McMahon
d26412e657 8343433: Update net.properties and java.net.http module-info.java after 8326949
Reviewed-by: dfuchs, jpai
2024-11-03 17:43:46 +00:00
Justin Lu
ea110c35f5 8343236: Use @apiNote and @implSpec in j.util.Currency
Reviewed-by: iris, lancea, bpb, naoto
2024-11-01 16:34:53 +00:00
Andrey Turbanov
f77a5144a1 8343194: Avoid redundant Hashtable.containsKey call in CodeSource.readObject
Reviewed-by: mullan
2024-11-01 11:47:00 +00:00
Calvin Cheung
d4eb2d924e 8319343: Improve CDS module graph support for --add-modules option
Reviewed-by: alanb, iklam
2024-10-31 21:30:08 +00:00
Aleksey Shipilev
7c36fa7e17 8343019: Primitive caches must use boxed instances from the archive
Reviewed-by: jiangli, vlivanov, iklam
2024-10-31 20:18:25 +00:00
Chen Liang
3ccd2f757d 8342458: More consistent constant instruction handling
Reviewed-by: asotona
2024-10-31 14:01:13 +00:00
Alan Bateman
dee0982c60 8343132: Remove temporary transitions from Virtual thread implementation
Reviewed-by: dholmes, sspitsyn, pchilanomate
2024-10-31 08:53:19 +00:00
Eirik Bjørsnøs
2f1ba5ef09 8343307: Throw ZipException instead of IAE in ZipFile.Source::initCEN
Reviewed-by: lancea, jpai
2024-10-31 08:32:48 +00:00
Jiangli Zhou
688e92e7f5 8342642: Class loading failure due to archived map issue in ModuleLoaderMap.Mapper
Reviewed-by: iklam, shade, alanb
2024-10-31 01:50:00 +00:00
Jaikiran Pai
0fe15d6836 8343040: Clean up references to JRE in the launcher code
Reviewed-by: alanb, darcy
2024-10-30 10:39:05 +00:00
Chen Liang
158ae51be0 8250659: Clarify in ParameterizedType.getRawType() doc that only Class is returned
Reviewed-by: darcy
2024-10-30 05:58:22 +00:00
Serguei Spitsyn
60364ef001 8341273: JVMTI is not properly hiding some continuation related methods
Reviewed-by: alanb, amenkov
2024-10-29 19:59:43 +00:00
Ferenc Rakoczi
9cfb0f7f7a 8341527: AVX-512 intrinsic for SHA3
Reviewed-by: sviswanathan
2024-10-29 15:18:24 +00:00
Eirik Bjørsnøs
d49f21043b 8342040: Further improve entry lookup performance for multi-release JARs
Co-authored-by: Claes Redestad <redestad@openjdk.org>
Reviewed-by: redestad
2024-10-28 18:21:18 +00:00
David M. Lloyd
9f6d5b46ce 8343020: (fs) Add support for SecureDirectoryStream on macOS
Reviewed-by: bpb, alanb
2024-10-28 16:58:44 +00:00
Brian Burkhalter
1341b81321 8341666: FileInputStream doesn't support readAllBytes() or readNBytes(int) on pseudo devices
Reviewed-by: alanb
2024-10-28 16:38:36 +00:00
Jatin Bhateja
52382e285f 8338021: Support new unsigned and saturating vector operators in VectorAPI
Reviewed-by: psandoz, epeter, sviswanathan
2024-10-28 16:30:29 +00:00
Chen Liang
40e07a7ea3 8342865: Use type parameter for Class::getPrimitiveClass
Reviewed-by: darcy
2024-10-26 14:45:04 +00:00
Jonathan Gibbons
873f8a696f 8305406: Add @spec tags in java.base/java.* (part 2)
Co-authored-by: Daniel Jeliński <djelinski@openjdk.org>
Co-authored-by: Hannes Wallnöfer <hannesw@openjdk.org>
Reviewed-by: valeriep
2024-10-26 06:57:45 +00:00
Maurizio Cimadamore
f1a9a8d25b 8342902: Deduplication of acquire calls in BindingSpecializer causes escape-analyisis failure
Reviewed-by: jvernee
2024-10-25 21:07:48 +00:00
Mark Powers
ca1700b8bf 8336665: CCE in X509CRLImpl$TBSCertList.getCertIssuer
Reviewed-by: mullan
2024-10-24 23:09:45 +00:00
Justin Lu
7af46a6b42 8340554: Improve MessageFormat readObject checks
Reviewed-by: naoto
2024-10-24 16:17:43 +00:00
Markus KARG
3c14c2babb 8341566: Add Reader.of(CharSequence)
Reviewed-by: rriggs, jpai, liach, alanb
2024-10-24 14:34:58 +00:00
Chen Liang
25c2f48d45 8338544: Dedicated Array class descriptor implementation
Reviewed-by: redestad, mchung, jvernee
2024-10-24 02:40:08 +00:00
Brian Burkhalter
de92fe3757 8233451: (fs) Files.newInputStream() cannot be used with character special files
Reviewed-by: alanb
2024-10-23 18:53:30 +00:00
Joe Darcy
a21c558699 8342863: Use pattern matching for instanceof in equals methods of wrapper classes
Reviewed-by: rriggs
2024-10-23 18:23:50 +00:00
Naoto Sato
e64f0798be 8342582: user.region for formatting number no longer works for 21.0.5
Reviewed-by: jlu, rriggs
2024-10-23 17:44:31 +00:00
Naoto Sato
426da4bbad 8341975: Unable to set encoding for IO.println, IO.print and IO.readln
Reviewed-by: rriggs, iris, alanb
2024-10-23 17:44:15 +00:00
Mandy Chung
d6eddcdaf9 8327624: Remove VM implementation that bypass verification for core reflection
Reviewed-by: liach, dholmes, jrose, alanb, mli
2024-10-22 18:14:37 +00:00
Justin Lu
c61d2c5a34 8341445: DecimalFormatSymbols setters should throw NPE
Reviewed-by: naoto
2024-10-22 17:21:38 +00:00
Claes Redestad
d10eecf161 8341776: Remove unused enum values from LambdaForm$Kind
Reviewed-by: liach
2024-10-22 13:51:42 +00:00
Aggelos Biboudis
c9f38409cc 8342679: Clean up PreviewFeature.Feature
Reviewed-by: liach, vromero
2024-10-22 09:39:04 +00:00
Naoto Sato
71583222eb 8340477: Remove JDK1.1 compatible behavior for "EST", "MST", and "HST" time zones
Reviewed-by: iris, jlu, joehw
2024-10-21 17:20:50 +00:00
Hannes Wallnöfer
97c9212842 8342698: Fix order of @param tags in module java.base
Reviewed-by: iris
2024-10-21 17:14:25 +00:00
Justin Lu
51a7ff6594 8335271: Specify the MessageFormat ArgumentIndex Implementation Limit
Reviewed-by: darcy, iris, naoto, rriggs
2024-10-21 17:08:50 +00:00
Lance Andersen
54a744b023 8340553: ZipEntry field validation does not take into account the size of a CEN header
Reviewed-by: jpai, redestad, eirbjo
2024-10-21 15:34:27 +00:00
Joe Darcy
18b55ceaa4 8342653: Fix minor doc issues in AnnotatedElement
Reviewed-by: jpai, iris, liach
2024-10-21 15:14:12 +00:00
fabioromano1
27ef6c9df4 8341470: BigDecimal.stripTrailingZeros() optimization
Reviewed-by: rgiulietti
2024-10-21 10:14:15 +00:00
Justin Lu
078401134a 8340488: Clarify LocaleServiceProvider deployment on application module path
Reviewed-by: naoto
2024-10-18 17:41:36 +00:00