Commit graph

1366 commits

Author SHA1 Message Date
Calvin Cheung
41450e9405 8314250: CDS dump error message: Invoker type parameter must start and end with Object: L3I_L
Reviewed-by: iklam, matsaave
2024-03-11 20:49:20 +00:00
Ioi Lam
761ed250ec 8327138: Clean up status management in cdsConfig.hpp and CDS.java
Reviewed-by: ccheung, matsaave
2024-03-09 03:48:38 +00:00
Jan Lahoda
27a03e0dc3 8327218: Add an ability to specify modules which should have native access enabled
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Reviewed-by: mcimadamore, erikj, alanb, ihse
2024-03-08 11:21:24 +00:00
Adam Sotona
bee50cd330 8294961: Convert java.base/java.lang.reflect.ProxyGenerator to use the Classfile API to generate proxy classes
Reviewed-by: mchung
2024-03-06 06:15:10 +00:00
Jorn Vernee
2372aba6a2 8326172: Dubious claim on long[]/double[] alignment in MemorySegment javadoc
Reviewed-by: mcimadamore
2024-03-05 13:32:24 +00:00
Joe Darcy
63f6a563a3 8326530: Widen allowable error bound of Math.tan
Reviewed-by: bpb, rgiulietti
2024-02-23 18:03:02 +00:00
Claes Redestad
d2590c69b4 8325730: StringBuilder.toString allocation for the empty String
Reviewed-by: jlaskey, shade
2024-02-20 20:28:55 +00:00
Per Minborg
82609b1ebc 8326112: Javadoc snippet for Linker.Option.captureCallState is wrong
Reviewed-by: jvernee
2024-02-19 13:33:09 +00:00
Richard Reingruber
4018b2b196 8323782: Race: Thread::interrupt vs. AbstractInterruptibleChannel.begin
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Reviewed-by: alanb, dholmes
2024-02-16 08:40:13 +00:00
Jorn Vernee
9c852df6aa 8318966: Some methods make promises about Java array element alignment that are too strong
Reviewed-by: psandoz, mcimadamore
2024-02-14 14:30:54 +00:00
Roger Riggs
13d9e8ff38 8325590: Regression in round-tripping UTF-16 strings after JDK-8311906
Reviewed-by: alanb, redestad
2024-02-13 15:16:50 +00:00
Per Minborg
b58d73b915 8323746: Add PathElement hashCode and equals
Reviewed-by: mcimadamore
2024-02-08 10:54:11 +00:00
Joe Darcy
fbd15b2087 8325189: Enable this-escape javac warning in java.base
Reviewed-by: alanb, erikj, naoto, smarks, ihse, joehw, lancea, weijun
2024-02-07 20:05:11 +00:00
Magnus Ihse Bursie
18e24d0619 8325109: Sort method modifiers in canonical order
Reviewed-by: aivanov, rriggs, darcy, prappo
2024-02-07 15:50:40 +00:00
Chen Liang
3bffe223a3 8319463: ClassSignature should have superclass and superinterfaces as ClassTypeSig
Reviewed-by: asotona
2024-02-07 07:54:22 +00:00
Claes Redestad
55c1446b68 8321468: Remove StringUTF16::equals
Reviewed-by: rriggs, kvn
2024-02-05 16:30:16 +00:00
Claes Redestad
19e92201b4 8325169: Reduce String::indexOf overheads
Reviewed-by: rriggs, rgiulietti, mli
2024-02-05 16:30:05 +00:00
Joe Darcy
adc3604027 8325148: Enable restricted javac warning in java.base
Reviewed-by: erikj, jvernee, mcimadamore, pminborg, ihse
2024-02-02 17:47:28 +00:00
Per Minborg
6b84f9bb3e 8325001: Typo in the javadocs for the Arena::ofShared method
Reviewed-by: dfuchs
2024-02-01 11:53:02 +00:00
Aggelos Biboudis
1733d2ea24 8303374: Implement JEP 455: Primitive Types in Patterns, instanceof, and switch (Preview)
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Co-authored-by: Gavin Bierman <gbierman@openjdk.org>
Co-authored-by: Brian Goetz <briangoetz@openjdk.org>
Co-authored-by: Raffaello Giulietti <rgiulietti@openjdk.org>
Co-authored-by: Aggelos Biboudis <abimpoudis@openjdk.org>
Reviewed-by: vromero, jlahoda
2024-01-31 14:18:13 +00:00
Per Minborg
ec56c72b51 8323601: Improve LayoutPath.PathElement::toString
Reviewed-by: jvernee
2024-01-31 09:54:03 +00:00
Serguei Spitsyn
8700de66e4 8322744: VirtualThread.notifyJvmtiDisableSuspend should be static
Reviewed-by: pchilanomate, alanb
2024-01-19 18:40:55 +00:00
Pavel Rappo
9efdd242fb 8324053: Use the blessed modifier order for sealed in java.base
Reviewed-by: naoto, darcy, ihse, dfuchs
2024-01-18 22:28:23 +00:00
Per Minborg
f5b757ced6 8323159: Consider adding some text re. memory zeroing in Arena::allocate
Reviewed-by: mcimadamore, jvernee
2024-01-15 16:07:56 +00:00
Joe Darcy
9e9c05f0ee 8322979: Add informative discussion to Modifier
Reviewed-by: alanb
2024-01-12 19:40:55 +00:00
Naoto Sato
3bd9042054 8320788: The system properties page is missing some properties
Reviewed-by: iris, rriggs, bpb, joehw
2024-01-10 18:54:02 +00:00
Joe Darcy
525063be90 8322878: Including sealing information Class.toGenericString()
Co-authored-by: Pavel Rappo <prappo@openjdk.org>
Reviewed-by: rriggs
2024-01-10 18:46:56 +00:00
Alan Bateman
7286f5291d 8322829: Refactor nioBlocker to avoid blocking while holding Thread's interrupt lock
Reviewed-by: jpai
2024-01-09 07:05:27 +00:00
Per Minborg
7edd10e5fa 8321786: SegmentAllocator:allocateFrom(ValueLayout, MemorySegment,ValueLayout,long,long) spec mismatch in exception scenario
Reviewed-by: mcimadamore
2024-01-08 08:20:07 +00:00
Alan Bateman
faa9c6909d 8322846: Running with -Djdk.tracePinnedThreads set can hang
Reviewed-by: jpai
2024-01-06 18:24:28 +00:00
Jim Laskey
df22fb322e 8322512: StringBuffer.repeat does not work correctly after toString() was called
Reviewed-by: rriggs, jpai
2024-01-04 12:46:31 +00:00
Matthias Baesken
1369c545ac 8322782: Clean up usages of unnecessary fully qualified class name "java.util.Arrays"
Reviewed-by: alanb, aivanov
2024-01-04 08:06:14 +00:00
Alan Bateman
4db7a1c3bb 8322818: Thread::getStackTrace can fail with InternalError if virtual thread is timed-parked when pinned
Reviewed-by: pchilanomate
2024-01-04 05:59:52 +00:00
Serguei Spitsyn
0f8e4e0a81 8311218: fatal error: stuck in JvmtiVTMSTransitionDisabler::VTMS_transition_disable
Reviewed-by: lmesnik, alanb
2023-12-19 17:26:55 +00:00
Aleksei Voitylov
fde5b16817 8321514: UTF16 string gets constructed incorrectly from codepoints if CompactStrings is not enabled
Co-authored-by: Roger Riggs <rriggs@openjdk.org>
Reviewed-by: rriggs
2023-12-14 14:39:04 +00:00
Roger Riggs
4fb5c12813 8321180: Condition for non-latin1 string size too large exception is off by one
Reviewed-by: rgiulietti
2023-12-12 20:55:17 +00:00
Hannes Wallnöfer
c51685267c 8321889: JavaDoc method references with wrong (nested) type
Reviewed-by: alanb
2023-12-12 11:27:31 +00:00
Adam Sotona
3c6459e1de 8321641: ClassFile ModuleAttribute.ModuleAttributeBuilder::moduleVersion spec contains a copy-paste error
Reviewed-by: alanb
2023-12-11 10:08:42 +00:00
Per Minborg
d13302f8b0 8321387: SegmentAllocator:allocateFrom(AddressLayout, MemorySegment) does not throw stated UnsupportedOperationException
Reviewed-by: mcimadamore
2023-12-11 07:52:31 +00:00
Alan Bateman
86623aa41d 8320786: Remove ThreadGroup.stop
Reviewed-by: rriggs, dholmes, jpai
2023-12-08 08:04:38 +00:00
Alan Bateman
af5c49226c 8320532: Remove Thread/ThreadGroup suspend/resume
Reviewed-by: dholmes, jpai, sspitsyn, smarks
2023-12-08 07:10:20 +00:00
Joe Darcy
519ecd352a 8319413: Start of release updates for JDK 23
8319414: Add SourceVersion.RELEASE_23
8319416: Add source 23 and target 23 to javac

Reviewed-by: iris, erikj, alanb, vromero
2023-12-07 17:01:29 +00:00
Brett Okken
c42535f111 8321470: ThreadLocal.nextHashCode can be static final
Reviewed-by: shade, jpai
2023-12-07 13:02:40 +00:00
Alan Bateman
29d7a22348 8321270: Virtual Thread.yield consumes parking permit
Reviewed-by: sspitsyn
2023-12-07 11:41:41 +00:00
Jim Laskey
82796bdebb 8320570: NegativeArraySizeException decoding >1G UTF8 bytes with non-ascii characters
Reviewed-by: rriggs
2023-12-06 21:55:05 +00:00
Adam Sotona
0217b5ac8b 8321248: ClassFile API ClassModel::verify is inconsistent with the rest of the API
Reviewed-by: jlahoda, mcimadamore
2023-12-06 15:32:24 +00:00
Per Minborg
a0920aa436 8321159: SymbolLookup.libraryLookup(Path, Arena) Assumes default Filesystem
Reviewed-by: mcimadamore
2023-12-06 08:02:52 +00:00
Roger Riggs
155abc576a 8311906: Improve robustness of String constructors with mutable array inputs
Co-authored-by: Damon Fenacci <dfenacci@openjdk.org>
Co-authored-by: Claes Redestad <redestad@openjdk.org>
Co-authored-by: Amit Kumar <amitkumar@openjdk.org>
Co-authored-by: Martin Doerr <mdoerr@openjdk.org>
Reviewed-by: rgiulietti, thartmann, redestad, dfenacci
2023-12-04 18:28:59 +00:00
Adam Sotona
2b00ac0d02 8308753: Class-File API transition to Preview
Reviewed-by: ihse, mchung, vromero
2023-12-04 07:07:57 +00:00
Pavel Rappo
8f1d40b48b 8321114: Rename "Unnamed Classes" to "Implicitly Declared Classes" better
Reviewed-by: jlaskey
2023-12-01 11:51:25 +00:00