Skip to content

Merge tag 'jdk-20-ga' of https://github.com/openjdk/jdk into jdk-19 #100

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2,310 commits into
base: jdk-19
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2310 commits
Select commit Hold shift + click to select a range
6065696
8297982: Exclude vmTestbase/nsk/monitoring/stress/lowmem/ with ZGC un…
lmesnik Dec 2, 2022
1b92465
8297608: JFR: Incorrect duration after chunk rotation
egahlin Dec 2, 2022
fb6fd03
8291830: jvmti/RedefineClasses/StressRedefine failed: assert(!is_null…
coleenp Dec 2, 2022
2821fa9
8280798: com.sun.jdi.ObjectReference::setValue spec should prohibit a…
Dec 2, 2022
562bc17
8291359: Specification of method j.l.foreign.VaList::skip still deser…
JornVernee Dec 2, 2022
6e54705
8295424: adjust timeout for another JLI GetObjectSizeIntrinsicsTest.j…
Dec 2, 2022
6065516
8291418: adjust monitor deflation logging and deflate_idle_monitors use
Dec 2, 2022
99e2ef4
8298054: ProblemList jdk/jfr/api/consumer/recordingstream/TestStop.java
Dec 3, 2022
c67166f
8298003: NMT: fatal block printout does not show the correct corrupti…
tstuefe Dec 3, 2022
0edb5d0
8297683: Use enhanced-for cycle instead of Enumeration in java.securi…
Dec 4, 2022
87572d4
8298068: ProblemList tests failing due to JDK-8297235
Dec 4, 2022
a71d91b
8298067: Persistent test failures after 8296012
TheShermanTanker Dec 4, 2022
914ef07
8297609: Add application/wasm MIME type for wasm file extension
Karm Dec 5, 2022
b49fd92
8298055: AArch64: fastdebug build fails after JDK-8247645
RealFYang Dec 5, 2022
a573923
8297264: C2: Cast node is not processed again in CCP and keeps a wron…
chhagedorn Dec 5, 2022
3b3bbe5
8296907: VMError: add optional callstacks, siginfo for secondary errors
tstuefe Dec 5, 2022
61b7093
8297872: Non-local G1MonotonicArenaFreePool::_freelist_pool has non-t…
Dec 5, 2022
82561de
8296384: [TESTBUG] sun/security/provider/SecureRandom/AbstractDrbg/Sp…
sendaoYan Dec 5, 2022
619b68c
8294540: Remove Opaque2Node: it is broken and triggers assert
eme64 Dec 5, 2022
17666fb
8297794: Deprecate JMX Management Applets for Removal
kevinjwalls Dec 5, 2022
777fb52
8297974: ClassCastException in com.sun.tools.javac.comp.AttrRecover.d…
lahodaj Dec 5, 2022
d523d9d
8297864: Dead code elimination
robehn Dec 5, 2022
dea2161
8297959: Provide better descriptions for some Operating System JFR ev…
MBaesken Dec 5, 2022
eab0ada
8296545: C2 Blackholes should allow load optimizations
shipilev Dec 5, 2022
2300ed4
8291769: Translation of switch with record patterns could be improved
lahodaj Dec 5, 2022
f9e0f1d
8297763: Fix missing stub code expansion before align() in shared tra…
zhengxiaolinX Dec 5, 2022
e7e0354
8297767: Assert JNICritical_lock/safepoint-1 and AdapterHandlerLibrar…
coleenp Dec 5, 2022
b9eec96
8281214: Unsafe use of long in VMThread::setup_periodic_safepoint_if_…
afshin-zafari Dec 5, 2022
bd38188
8297766: Remove UseMallocOnly development option
afshin-zafari Dec 5, 2022
73baadc
8295044: Implementation of Foreign Function and Memory API (Second Pr…
mcimadamore Dec 5, 2022
0452c39
8296477: Foreign linker implementation update following JEP 434
JornVernee Dec 5, 2022
3288459
8297606: [AIX] Broken build after JDK-8295475
Dec 5, 2022
19d8498
8297495: j.u.concurrent updates for JDK 20
Dec 5, 2022
a38c63d
8297733: Refactor Cast binding to enum
JornVernee Dec 5, 2022
6a7a0db
8296619: Upgrade jQuery to 3.6.1
hns Dec 5, 2022
601264d
8273357: SecurityManager deprecation warning from java/awt/regtesthel…
prrace Dec 5, 2022
7d20a60
8297489: Modify TextAreaTextEventTest.java as to verify the content c…
ravigupta30 Dec 5, 2022
9827b75
8298043: jdk/jfr/api/consumer/recordingstream/TestStop.java failed wi…
egahlin Dec 5, 2022
da0917a
8297729: Replace GrowableArray in ComputeMoveOrder with hash table
JornVernee Dec 5, 2022
8af6e8a
8298123: Problem List MaximizedToIconified.java on macOS
prrace Dec 5, 2022
884b9ad
8293453: tools/jpackage/share/AddLShortcutTest.java "Failed: Check th…
Dec 6, 2022
8d8a28f
8296489: tools/jpackage/windows/WinL10nTest.java fails with timeout
Dec 6, 2022
ba2d28e
8298027: Remove SCCS id's from awt jtreg tests
jayathirthrao Dec 6, 2022
ee9ba74
8295184: Printing messages with a RecordComponentElement does not inc…
Dec 6, 2022
04012c4
8298111: Cleanups after UseMallocOnly removal
tstuefe Dec 6, 2022
e975418
8298102: Remove DirtyCardToOopClosure::_last_explicit_min_done
albertnetymk Dec 6, 2022
f5ad515
8297247: Add GarbageCollectorMXBean for Remark and Cleanup pause time…
linade Dec 6, 2022
0bd04a6
8297951: C2: Create skeleton predicates for all If nodes in loop pred…
chhagedorn Dec 6, 2022
923c746
8298057: (fs) Remove PollingWatchService.POLLING_INIT_DELAY
Dec 6, 2022
2a243a3
8267617: Certificate's IP x509 NameConstraints raises ArrayIndexOutOf…
djelinski Dec 6, 2022
f8f4630
8297963: Partially fix string expansion issues in UTIL_DEFUN_NAMED an…
TheShermanTanker Dec 6, 2022
a613998
8297689: Fix incorrect result of Short.reverseBytes() call in loops
Dec 6, 2022
4458de9
8297172: Fix some issues of auto-vectorization of `Long.bitCount/numb…
Dec 6, 2022
a9e6c62
8297186: G1 triggers unnecessary full GCs when heap utilization is low
Dec 6, 2022
84b927a
8296024: Usage of DirectBuffer::address should be guarded
minborg Dec 6, 2022
2243646
8298145: Remove ContiguousSpace::capacity
albertnetymk Dec 6, 2022
b0e5432
8297687: new URI(S,S,S,S) throws exception with incorrect index posit…
dfuch Dec 6, 2022
1e46832
8297602: Compiler crash with type annotation and generic record durin…
biboudis Dec 6, 2022
203251f
8297379: Enable the ByteBuffer path of Poly1305 optimizations
vpaprotsk Dec 6, 2022
0d2a9ee
8298142: Update internal comment on language features in SourceVersion
jddarcy Dec 6, 2022
336d230
8297958: NMT: Display peak values
tstuefe Dec 6, 2022
ea83cb9
8297450: ScaledTextFieldBorderTest.java fails when run with -show par…
rajamah Dec 6, 2022
79d163d
8293412: Remove unnecessary java.security.egd overrides
Dec 6, 2022
2cdc019
8298178: Update to use jtreg 7.1.1
sormuras Dec 6, 2022
cd2182a
8295724: VirtualMachineError: Out of space in CodeCache for method ha…
TheRealMDoerr Dec 6, 2022
b4da0ee
8296507: GCM using more memory than necessary with in-place operations
Dec 6, 2022
16a5901
8298214: ProblemList java/util/concurrent/forkjoin/AsyncShutdownNow.java
Dec 6, 2022
62baff5
8298221: Problem list gc/metaspace/CompressedClassSpaceSizeInJmapHeap…
plummercj Dec 6, 2022
ce89673
8297804: (tz) Update Timezone Data to 2022g
gnu-andrew Dec 7, 2022
acf96c6
8290432: C2 compilation fails with assert(node->_last_del == _last) f…
y1yang0 Dec 7, 2022
8ea369a
8298171: Missing newline in the example output of -Xlog:help
D-D-H Dec 7, 2022
1c2a093
8298147: Clang warns about pointless comparisons
tstuefe Dec 7, 2022
085f96c
8295258: Add BasicType argument to AccessInternal::decorator_fixup
xmas92 Dec 7, 2022
27bbe7b
8297976: Remove sun.net.ProgressMonitor and related classes
djelinski Dec 7, 2022
5a3439d
4677581: ColorModel.getComponentSize()-wrong conditions for ArrayInde…
mrserb Dec 7, 2022
ccc69af
8296672: Implementation of Virtual Threads (Second Preview)
Dec 7, 2022
221e1a4
8286666: JEP 429: Implementation of Scoped Values (Incubator)
Dec 7, 2022
80cbfab
8298169: Remove unused methods in space.hpp
albertnetymk Dec 7, 2022
4da8411
8298108: Add a regression test for JDK-8297684
jerboaa Dec 7, 2022
3e041eb
8298248: Limit sscanf output width in cgroup file parsers
tstuefe Dec 7, 2022
bfcc238
8297964: Jetty.java fails "assert(_no_handle_mark_nesting == 0) faile…
Dec 7, 2022
58170f6
8298035: Provide better descriptions for JIT compiler JFR events
MBaesken Dec 7, 2022
cf63f2e
8298184: Incorrect record component type in record patterns
lahodaj Dec 7, 2022
86270e3
8269820: C2 PhaseIdealLoop::do_unroll get wrong opaque node
rwestrel Dec 7, 2022
6ed3683
8297209: Serial: Refactor GenCollectedHeap::full_process_roots
albertnetymk Dec 7, 2022
3de7750
8298177: Various java.lang.invoke cleanups
cl4es Dec 7, 2022
29f1c3c
8298274: Problem list TestSPISigned on Windows
jerboaa Dec 7, 2022
dd7385d
8298202: [AIX] Dead code elimination removed jfr constructor used by AIX
Dec 7, 2022
389b8f4
8297298: SequenceInputStream should override transferTo
mkarg Dec 7, 2022
3934484
8298205: Prefer Member Initialization Lists for JFR classes in os_per…
Dec 7, 2022
8edb98d
8165943: LineBreakMeasurer does not measure correctly if TextAttribut…
Dec 7, 2022
e86f31b
8298301: C2: assert(main_cmp->in(2)->Opcode() == Op_Opaque1) failed: …
chhagedorn Dec 7, 2022
3b8c7ef
8157023: Integrate NMT with JFR
kstefanj Dec 7, 2022
10356e7
8298303: (fs) temporarily remove Path.getExtension
Dec 7, 2022
5d4c71c
8281236: (D)TLS key exchange named groups
XueleiFan Dec 7, 2022
8a9911e
8295803: Console should be usable in jshell and other environments
naotoj Dec 7, 2022
8b69a2e
8298099: [JVMCI] decouple libgraal from JVMCI module at runtime
Dec 7, 2022
af8fb7e
8282578: AIOOBE in javax.sound.sampled.Clip
Dec 8, 2022
3aa4070
8294047: HttpResponseInputStream swallows interrupts
DarraghClarke Dec 8, 2022
74f346b
8298075: RISC-V: Implement post-call NOPs
zhengxiaolinX Dec 8, 2022
d5cf18e
8296198: JFileChooser throws InternalError java.lang.InternalError wi…
Dec 8, 2022
5175965
8298323: trivial typo in JOptionPane.OK_OPTION
prsadhuk Dec 8, 2022
1166c8e
8296896: Change virtual Thread.yield to use external submit
Dec 8, 2022
46cd457
8298341: Ensure heap growth in TestNativeMemoryUsageEvents.java
kstefanj Dec 8, 2022
073897c
8294588: Auto vectorize half precision floating point conversion APIs
Dec 8, 2022
297bf6a
8287397: Print top-level exception when snippet fails to read file
anthonyvdotbe Dec 8, 2022
b9346e1
8298033: Character.codePoint{At|Before}(char[], int, int) doesn't do …
Dec 8, 2022
2f426cd
8298375: Bad copyright header in test/jdk/java/lang/Character/Supplem…
jaikiran Dec 8, 2022
49b8622
8290850: C2: create_new_if_for_predicate() does not clone pinned phi …
chhagedorn Dec 8, 2022
94575d1
8295116: C2: assert(dead->outcnt() == 0 && !dead->is_top()) failed: n…
chhagedorn Dec 8, 2022
9353899
8298175: JFR: Common timestamp for periodic events
egahlin Dec 8, 2022
d8ef60b
8298272: Clean up ProblemList
TobiHartmann Dec 8, 2022
fbe7b00
8298173: GarbageCollectionNotificationContentTest test failed: no dec…
kevinjwalls Dec 8, 2022
165dcdd
8297718: Make NMT free:ing protocol more granular
jdksjolen Dec 8, 2022
ea108f5
8298129: Let checkpoint event sizes grow beyond u4 limit
Dec 8, 2022
c084431
8298379: JFR: Some UNTIMED events only sets endTime
Dec 8, 2022
e555d54
8298383: JFR: GenerateJfrFiles.java lacks copyright header
egahlin Dec 8, 2022
fc52f21
8298255: JFR provide information about dynamization of number of comp…
MBaesken Dec 8, 2022
d562d3f
8297642: PhaseIdealLoop::only_has_infinite_loops must detect all loop…
eme64 Dec 8, 2022
553ba65
8298402: ProblemList javax/swing/JFileChooser/4847375/bug4847375.java…
Dec 8, 2022
133ad8e
8297988: NPE in JavacTypes.getOverriddenMethods from doclint
lahodaj Dec 9, 2022
5a92bee
8298455: JFR: Add logging to TestClose.java
egahlin Dec 9, 2022
05d67f6
8298340: java/net/httpclient/CancelRequestTest.java fails with Assert…
dfuch Dec 9, 2022
b7b996c
8298353: C2 fails with assert(opaq->outcnt() == 1 && opaq->in(1) == l…
rwestrel Dec 9, 2022
52fffdd
8298463: tools/javac/modules/EdgeCases.java fails on Windows after JD…
lahodaj Dec 9, 2022
a894649
8298225: [AIX] Disable PPC64LE continuations on AIX
Dec 9, 2022
d624deb
8298459: Fix msys2 linking and handling out of tree build directory f…
RealCLanger Dec 11, 2022
cf93933
8298271: java/security/SignedJar/spi-calendar-provider/TestSPISigned.…
jerboaa Dec 12, 2022
0267aa5
8297288: Example code in Scanner class
naotoj Dec 12, 2022
8962c72
8298488: [macos13] tools/jpackage tests failing with "Exit code: 137"…
Dec 12, 2022
d453190
8296955: Kitchensink.java failed with "double free or corruption (!pr…
coleenp Dec 13, 2022
04b8d0c
8298084: Memory leak in Method::build_profiling_method_data
coleenp Dec 13, 2022
bf78f71
8295857: Clarify that cleanup code can be skipped when the JVM termin…
Dec 13, 2022
c6f22b4
8297305: Clarify that javax.lang.model.util.Elements.overrides is irr…
jddarcy Dec 13, 2022
61ab16f
8298700: Typo in DocTree comment
jonathan-gibbons Dec 13, 2022
51f0a1c
8298527: Cygwin's uname -m returns different string than before
RealCLanger Dec 14, 2022
27d4971
8298520: C2: assert(found_opaque == res) failed: wrong pattern
rwestrel Dec 14, 2022
9bcdfc4
8298425: System.console().readLine() hangs in jshell
lahodaj Dec 14, 2022
0bbc418
8294902: Undefined Behavior in C2 regalloc with null references
Dec 14, 2022
2791701
8298296: gc/TestFullGCCount.java fails with "System.gc collections mi…
Dec 14, 2022
0eeaf6b
8298649: JFR: RemoteRecordingStream support for checkpoint event size…
egahlin Dec 14, 2022
581f9f2
8297235: ZGC: assert(regs[i] != regs[j]) failed: Multiple uses of reg…
xmas92 Dec 14, 2022
ebc4710
8298277: Replace "session" with "scope" for FFM access
minborg Dec 14, 2022
80cadd4
8298785: gc/TestFullGCCount.java fails with "invalid boolean value: `…
Dec 14, 2022
323e574
8298371: monitors_on_stack extracts unprocessed oops
stefank Dec 15, 2022
22a6b59
8298727: Trees.getPath may crash for unnamed package
lahodaj Dec 15, 2022
48f6127
8298376: ZGC: thaws stackChunk with stale oops
stefank Dec 15, 2022
2c42499
8298050: Add links to graph output for javadoc
minborg Dec 15, 2022
ca39eb9
7093322: (fs spec) Files.newBufferedWriter should be clear when codin…
Dec 15, 2022
c7d7e7e
8298888: ProblemList gc/g1/TestVerifyGCType.java on linux and macosx
Dec 16, 2022
03a694a
8298083: The "CheckBox/RadioButton[Enabled/Disabled].textForeground" …
mrserb Dec 16, 2022
c47e64e
8297979: ZGC: Ensure consistent MemoryUsage from MemoryMXBean.getHeap…
kstefanj Dec 16, 2022
0ba4734
8287699: jdk/jfr/api/consumer/TestRecordingFileWrite.java fails with …
Dec 16, 2022
f771c56
8298797: Specification of some restricted methods is incorrect
mcimadamore Dec 16, 2022
b14794d
8298852: Use of uninitialized memory in MetadataFactory::free_metadata
coleenp Dec 16, 2022
9e10f00
8298919: Add a regression test for JDK-8298520
TobiHartmann Dec 16, 2022
c997b5b
8298133: JDK 20 RDP1 L10n resource files update - msgdrop 10
Dec 16, 2022
0ecad28
8298976: ProblemList java/util/concurrent/ExecutorService/CloseTest.j…
Dec 16, 2022
3b7970c
8298217: Regressions 30-110% in SwingMark on MacOS, more so on aarch64
aghaisas Dec 17, 2022
41cc044
8298970: Problem list java/awt/event/KeyEvent/KeyTyped/CtrlASCII.java
Dec 17, 2022
d102672
8298905: Test "java/awt/print/PrinterJob/ImagePrinting/PrintARGBImage…
Dec 17, 2022
3410555
8298987: ProblemList jdk/internal/vm/Continuation/Fuzz.java#default w…
Dec 17, 2022
2c69c41
8298894: java/lang/Thread/virtual/stress/Skynet.java timed out and th…
Dec 19, 2022
188aaef
8277074: Qualified exported types show up in JavaDoc
hns Dec 19, 2022
3e17e3c
4512626: Non-editable JTextArea provides no visual indication of keyb…
Dec 19, 2022
f07acfc
8298699: java/lang/reflect/IllegalArgumentsTest.java times out with s…
Dec 19, 2022
d0a7679
4958969: ObjectOutputStream example leads to non-working code
Dec 19, 2022
ea40f29
8298215: gc/g1/TestVerifyGCType.java failed with "Missing expected ve…
Dec 20, 2022
3dd2cfa
8298784: JFR: Test chunk integrity
egahlin Dec 20, 2022
65fc058
8298968: G1: Incorrect merged remset stats
albertnetymk Dec 20, 2022
03d9927
8298061: vmTestbase/nsk/sysdict/vm/stress/btree/btree012/btree012.jav…
coleenp Dec 20, 2022
03afec1
8298162: Test PrintClasses hits assert when run with code that retran…
coleenp Dec 20, 2022
f4d7f43
8299123: [BACKOUT] 4512626 Non-editable JTextArea provides no visual …
Dec 20, 2022
e85d00f
8299147: Minor accessibility errors in the specs and man index pages
jonathan-gibbons Dec 20, 2022
3d4d9fd
8298947: compiler/codecache/MHIntrinsicAllocFailureTest.java fails in…
TheRealMDoerr Dec 20, 2022
f7be5b5
8299156: Broken link in jdk.compiler/module-info.java
jonathan-gibbons Dec 20, 2022
92fe304
8298588: WebSockets: HandshakeUrlEncodingTest unnecessarily depends o…
RealCLanger Dec 21, 2022
81933b7
8298642: ParallelGC -XX:+UseNUMA eden spaces allocated on wrong node
nick-arm Dec 21, 2022
9adc349
8298726: (fs) Change PollingWatchService to record last modified time…
Dec 21, 2022
22007a1
8298893: Rename option UsePolyIntrinsics to UsePoly1305Intrinsics
vpaprotsk Dec 21, 2022
fef70d7
8299077: [REDO] JDK-4512626 Non-editable JTextArea provides no visual…
Dec 22, 2022
a0a09d5
8298176: remove OpaqueZeroTripGuardPostLoop once main-loop disappears
rwestrel Dec 22, 2022
5e001d6
8299207: [Testbug] Add back test/jdk/java/awt/Graphics2D/DrawPrimitiv…
aghaisas Dec 22, 2022
9863f59
8299015: Ensure that HttpResponse.BodySubscribers.ofFile writes all b…
ChrisHegarty Dec 22, 2022
a80c91d
8299230: Use https: in links
Dec 22, 2022
33042a4
8299237: add ArraysSupport.newLength test to a test group
Dec 22, 2022
188911c
8299241: jdk/jfr/api/consumer/streaming/TestJVMCrash.java generates u…
Dec 23, 2022
37f8b05
8298592: Add java man page documentation for ChaCha20 and Poly1305 in…
Dec 29, 2022
a6a903d
8288204: GVN Crash: assert() failed: correct memory chain
TobiHartmann Jan 3, 2023
3eb85d1
8299235: broken link referencing missing id
Jan 3, 2023
031829d
8298324: Unable to run shell test with make
erikj79 Jan 3, 2023
8254cbb
8299483: ProblemList java/text/Format/NumberFormat/CurrencyFormat.java
Jan 3, 2023
b743519
8293824: gc/whitebox/TestConcMarkCycleWB.java failed "RuntimeExceptio…
Jan 4, 2023
a17f505
8299476: PPC64 Zero build fails after JDK-8286302
shipilev Jan 4, 2023
9c4ed16
8299561: VaList.empty() doesn't return a list associated with the glo…
mcimadamore Jan 5, 2023
284c94e
8298525: javadoc crashes with "UnsupportedOperationException: Not yet…
Jan 5, 2023
136f5db
8299528: IR test: TestEor3AArch64.java fails on aarch64
Jan 6, 2023
5eee2a0
8299740: CaptureCallState is missing @Preview annotation
mcimadamore Jan 6, 2023
1f141bd
8299705: JCov coverage runs depend on jdk_symbols
shurymury Jan 6, 2023
d49851a
8299689: Make use of JLine for Console as "opt-in"
naotoj Jan 9, 2023
5826a07
8299693: Change to Xcode12.4+1.1 devkit for building on macOS at Oracle
vidmik Jan 10, 2023
21d468e
8299733: AArch64: "unexpected literal addressing mode" assertion fail…
nick-arm Jan 10, 2023
151450e
8294744: AArch64: applications/kitchensink/Kitchensink.java crashed: …
pchilano Jan 10, 2023
de79162
8299715: IR test: VectorGatherScatterTest.java fails with SVE randomly
Jan 11, 2023
0abb87a
8299227: host `exif.org` not found in link in doc comment
Jan 11, 2023
636976a
8299849: Revert JDK-8294461: wrong effectively final determination by…
lahodaj Jan 11, 2023
945ef07
8299862: OfAddress setter should disallow heap segments
mcimadamore Jan 11, 2023
3918f9f
8299090: Specify coordinate order for additional CaptureCallState par…
JornVernee Jan 12, 2023
752a370
8299439: java/text/Format/NumberFormat/CurrencyFormat.java fails for …
RealCLanger Jan 12, 2023
6a4a874
8299034: Runtime::exec clarification of inherited environment
Jan 12, 2023
4b92fb0
8299918: Update Xcode11.3.1-MacOSX10.15 devkit at Oracle
vidmik Jan 12, 2023
e008146
8300055: [BACKOUT] OPEN_MAX is no longer the max limit on macOS >= 10…
Jan 13, 2023
bc498f8
8300141: ProblemList java/util/concurrent/locks/Lock/OOMEInAQS.java w…
Jan 13, 2023
ab7f43f
8299498: Usage of constructors of primitive wrapper classes should be…
Jan 13, 2023
628266a
8299501: Usage of constructors of primitive wrapper classes should be…
Jan 13, 2023
98eae6d
8299500: Usage of constructors of primitive wrapper classes should be…
Jan 13, 2023
dc5cc61
8299499: Usage of constructors of primitive wrapper classes should be…
Jan 13, 2023
87865e0
8299502: Usage of constructors of primitive wrapper classes should be…
Jan 13, 2023
e15bdc5
8299789: Compilation of gtest causes build to fail if runtime librari…
mrserb Jan 14, 2023
ae0e027
8298059: Linked stack watermarks don't support nesting
fisk Jan 17, 2023
ba86c23
8286070: Improve UTF8 representation
naotoj May 11, 2022
5aae822
8288516: Enhance font creation
prrace Aug 9, 2022
51e52c4
8286496: Improve Thread labels
Sep 19, 2022
b7cfb68
8293598: Enhance InetAddress address handling
djelinski Sep 26, 2022
3364c46
8293734: Improve BMP image handling
jayathirthrao Sep 29, 2022
d6b1513
8293717: Objective view of ObjectView
prsadhuk Sep 29, 2022
2e8073e
8287411: Enhance DTLS Performance
Oct 4, 2022
6c5aefe
8293554: Enhanced DH Key Exchanges
slumericanB Oct 7, 2022
93161e4
8293742: Better Banking of Sounds
Oct 26, 2022
bd324ce
8295687: Better BMP bounds
jayathirthrao Nov 10, 2022
0f925fe
8295723: security/infra/wycheproof/RunWycheproof.java fails with Asse…
slumericanB Nov 10, 2022
c1b4212
8300195: Fall-through issue occurs when using record pattern in switc…
lahodaj Jan 18, 2023
b9275a8
8300275: SegmentScope.isAccessibleBy returning incorrect values
mcimadamore Jan 18, 2023
62a2f23
8300490: Spaces in name of MacOS Code Signing Identity are not correc…
RealCLanger Jan 19, 2023
1c84050
8298400: Virtual thread instability when stack overflows
pron Jan 19, 2023
fd75217
8290919: Update nroff pages in JDK 20 before RC
Jan 23, 2023
a3ed7e9
8300623: Lambda deserialization regression involving Enum method refe…
lahodaj Jan 24, 2023
60b8a98
8300591: @SuppressWarnings option "lossy-conversions" missing from jd…
asotona Jan 24, 2023
a67b1e7
8300719: JDK 20 RDP2 L10n resource files update
Jan 26, 2023
b22e521
8300953: ClassDesc::ofInternalName missing @since tag
asotona Jan 27, 2023
e5860ef
8301206: Fix issue with LocaleData after JDK-8300719
Jan 27, 2023
ef6200c
8300269: The selected item in an editable JComboBox with titled borde…
Jan 27, 2023
225f805
8299891: JMX ObjectInputFilter additional classes needed
kevinjwalls Feb 1, 2023
1330d4e
8298377: JfrVframeStream causes deadlocks in ZGC
stefank Feb 1, 2023
6f460e4
8301863: ObjectInputFilter example incorrectly calls rejectUndecidedC…
Feb 8, 2023
e81f20b
8301989: new javax.swing.text.DefaultCaret().setBlinkRate(N) results …
Feb 8, 2023
8274990
8301886: Remove EA from JDK 20 version string starting with Initial R…
JesperIRL Feb 10, 2023
fd99463
Merge tag 'jdk-20-ga' of https://github.com/openjdk/jdk into jdk-20
wmdietl Dec 11, 2024
e15c3cd
Download a current jtreg release
wmdietl Dec 12, 2024
57afe95
Disable GitHub Actions
wmdietl Dec 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
46 changes: 46 additions & 0 deletions .github/actions/config/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
#
# Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#

name: 'Config'
description: 'Read JDK Configuration Variables'
inputs:
var:
description: 'The name of the variable to read'
required: true
outputs:
value:
description: 'The value of the configuration variable'
value: ${{ steps.read-config.outputs.value }}

runs:
using: composite
steps:
- name: 'Read configuration variable from repo'
id: read-config
run: |
# Extract value from configuration file
value="$(grep -h ${{ inputs.var }}= make/conf/github-actions.conf | cut -d '=' -f 2-)"
echo "value=$value" >> $GITHUB_OUTPUT
shell: bash
80 changes: 80 additions & 0 deletions .github/actions/do-build/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
#
# Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#

name: 'Do build'
description: 'Build the JDK using make'
inputs:
make-target:
description: 'Make target(s)'
required: true
platform:
description: 'Platform name'
required: true
debug-suffix:
description: 'File name suffix denoting debug level, possibly empty'
required: false

runs:
using: composite
steps:
- name: 'Build'
id: build
run: >
make LOG=info ${{ inputs.make-target }}
|| bash ./.github/scripts/gen-build-failure-report.sh "$GITHUB_STEP_SUMMARY"
shell: bash

- name: 'Check for failure'
id: check
run: |
# Check for failure marker file
build_dir="$(ls -d build/*)"
if [[ -e $build_dir/build-failure ]]; then
# Collect relevant log files
mkdir failure-logs
cp \
$build_dir/spec.gmk \
$build_dir/build.log \
$build_dir/configure.log \
$build_dir/make-support/failure-summary.log \
$build_dir/make-support/failure-logs/* \
failure-logs/ 2> /dev/null || true
echo 'failure=true' >> $GITHUB_OUTPUT
fi
shell: bash

- name: 'Upload build logs'
uses: actions/upload-artifact@v3
with:
name: failure-logs-${{ inputs.platform }}${{ inputs.debug-suffix }}
path: failure-logs
if: steps.check.outputs.failure == 'true'

# This is the best way I found to abort the job with an error message
- name: 'Notify about build failures'
uses: actions/github-script@v6
with:
script: core.setFailed('Build failed. See summary for details.')
if: steps.check.outputs.failure == 'true'
109 changes: 109 additions & 0 deletions .github/actions/get-bootjdk/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
#
# Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#

name: 'Get BootJDK'
description: 'Download the BootJDK from cache or source location'
inputs:
platform:
description: 'Platform'
required: true
outputs:
path:
description: 'Path to the installed BootJDK'
value: ${{ steps.path-name.outputs.path }}

runs:
using: composite
steps:
- name: 'Determine platform prefix'
id: platform-prefix
run: |
# Convert platform name to upper case
platform_prefix="$(echo ${{ inputs.platform }} | tr [a-z-] [A-Z_])"
echo "value=$platform_prefix" >> $GITHUB_OUTPUT
shell: bash

- name: 'Get URL configuration'
id: url
uses: ./.github/actions/config
with:
var: ${{ steps.platform-prefix.outputs.value}}_BOOT_JDK_URL

- name: 'Get SHA256 configuration'
id: sha256
uses: ./.github/actions/config
with:
var: ${{ steps.platform-prefix.outputs.value}}_BOOT_JDK_SHA256

- name: 'Get file extension configuration'
id: ext
uses: ./.github/actions/config
with:
var: ${{ steps.platform-prefix.outputs.value}}_BOOT_JDK_EXT

- name: 'Check cache for BootJDK'
id: get-cached-bootjdk
uses: actions/cache@v3
with:
path: bootjdk/jdk
key: boot-jdk-${{ inputs.platform }}-${{ steps.sha256.outputs.value }}

# macOS is missing sha256sum
- name: 'Install sha256sum'
run: |
# Run Homebrew installation
brew install coreutils
shell: bash
if: steps.get-cached-bootjdk.outputs.cache-hit != 'true' && runner.os == 'macOS'

- name: 'Download BootJDK'
run: |
# Download BootJDK and verify checksum
mkdir -p bootjdk/jdk
mkdir -p bootjdk/unpacked
wget --progress=dot:mega -O bootjdk/jdk.${{ steps.ext.outputs.value }} '${{ steps.url.outputs.value }}'
echo '${{ steps.sha256.outputs.value }} bootjdk/jdk.${{ steps.ext.outputs.value }}' | sha256sum -c >/dev/null -
shell: bash
if: steps.get-cached-bootjdk.outputs.cache-hit != 'true'

- name: 'Unpack BootJDK'
run: |
# Unpack the BootJDK and move files to a common location
if [[ '${{ steps.ext.outputs.value }}' == 'tar.gz' ]]; then
tar -xf bootjdk/jdk.${{ steps.ext.outputs.value }} -C bootjdk/unpacked
else
unzip -q bootjdk/jdk.${{ steps.ext.outputs.value }} -d bootjdk/unpacked
fi
jdk_root="$(dirname $(find bootjdk/unpacked -name bin -type d))"
mv "$jdk_root"/* bootjdk/jdk/
shell: bash
if: steps.get-cached-bootjdk.outputs.cache-hit != 'true'

- name: 'Export path to where BootJDK is installed'
id: path-name
run: |
# Export the path
echo 'path=bootjdk/jdk' >> $GITHUB_OUTPUT
shell: bash
109 changes: 109 additions & 0 deletions .github/actions/get-bundles/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
#
# Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#

name: 'Get bundles'
description: 'Download resulting JDK bundles'
inputs:
platform:
description: 'Platform name'
required: true
debug-suffix:
description: 'File name suffix denoting debug level, possibly empty'
required: false
outputs:
jdk-path:
description: 'Path to the installed JDK bundle'
value: ${{ steps.path-name.outputs.jdk }}
symbols-path:
description: 'Path to the installed symbols bundle'
value: ${{ steps.path-name.outputs.symbols }}
tests-path:
description: 'Path to the installed tests bundle'
value: ${{ steps.path-name.outputs.tests }}

runs:
using: composite
steps:
- name: 'Download bundles artifact'
id: download-bundles
uses: actions/download-artifact@v3
with:
name: bundles-${{ inputs.platform }}${{ inputs.debug-suffix }}
path: bundles
continue-on-error: true

- name: 'Download bundles artifact (retry)'
uses: actions/download-artifact@v3
with:
name: bundles-${{ inputs.platform }}${{ inputs.debug-suffix }}
path: bundles
if: steps.download-bundles.outcome == 'failure'

- name: 'Unpack bundles'
run: |
if [[ -e bundles/jdk-${{ inputs.platform }}${{ inputs.debug-suffix }}.zip ]]; then
echo 'Unpacking jdk bundle...'
mkdir -p bundles/jdk
unzip -q bundles/jdk-${{ inputs.platform }}${{ inputs.debug-suffix }}.zip -d bundles/jdk
fi

if [[ -e bundles/jdk-${{ inputs.platform }}${{ inputs.debug-suffix }}.tar.gz ]]; then
echo 'Unpacking jdk bundle...'
mkdir -p bundles/jdk
tar -xf bundles/jdk-${{ inputs.platform }}${{ inputs.debug-suffix }}.tar.gz -C bundles/jdk
fi

if [[ -e bundles/symbols-${{ inputs.platform }}${{ inputs.debug-suffix }}.tar.gz ]]; then
echo 'Unpacking symbols bundle...'
mkdir -p bundles/symbols
tar -xf bundles/symbols-${{ inputs.platform }}${{ inputs.debug-suffix }}.tar.gz -C bundles/symbols
fi

if [[ -e bundles/tests-${{ inputs.platform }}${{ inputs.debug-suffix }}.tar.gz ]]; then
echo 'Unpacking tests bundle...'
mkdir -p bundles/tests
tar -xf bundles/tests-${{ inputs.platform }}${{ inputs.debug-suffix }}.tar.gz -C bundles/tests
fi
shell: bash

- name: 'Export paths to where bundles are installed'
id: path-name
run: |
# Export the paths

jdk_dir="$GITHUB_WORKSPACE/$(dirname $(find bundles/jdk -name bin -type d))"
symbols_dir="$GITHUB_WORKSPACE/$(dirname $(find bundles/symbols -name bin -type d))"
tests_dir="$GITHUB_WORKSPACE/bundles/tests"

if [[ '${{ runner.os }}' == 'Windows' ]]; then
jdk_dir="$(cygpath $jdk_dir)"
symbols_dir="$(cygpath $symbols_dir)"
tests_dir="$(cygpath $tests_dir)"
fi

echo "jdk=$jdk_dir" >> $GITHUB_OUTPUT
echo "symbols=$symbols_dir" >> $GITHUB_OUTPUT
echo "tests=$tests_dir" >> $GITHUB_OUTPUT
shell: bash
Loading
Loading