Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
150 commits
Select commit Hold shift + click to select a range
55edffa
8376485: Update the release version and date for OpenJDK 26u
Jan 27, 2026
e005c0e
8374178: Missing include in systemDictionary.cpp after JDK-8365526
DamonFool Jan 29, 2026
bea39a1
8373101: JdkClient and JdkServer test classes ignore namedGroups field
Jan 29, 2026
65af7a2
8375311: Some builds are missing debug helpers
MBaesken Jan 29, 2026
c137d11
8374727: Audio configuration Platform class - use nio for getting end…
MBaesken Jan 29, 2026
33a6578
8373704: Improve "SocketException: Protocol family unavailable" message
MBaesken Jan 29, 2026
96414c3
8286258: [Accessibility,macOS,VoiceOver] VoiceOver reads the spinner …
Jan 29, 2026
48215f4
8373808: Refactor java/net/httpclient qpack and hpack tests to use JUnit
Jan 30, 2026
d1d27de
8374043: C2: assert(_base >= VectorMask && _base <= VectorZ) failed:…
Feb 2, 2026
fa680f4
Merge
Feb 3, 2026
39f3676
8373650: Test "javax/swing/JMenuItem/6458123/ManualBug6458123.java" f…
Feb 3, 2026
4bc63d0
8360160: ubuntu-22-04 machine is failing client tests
Yassine-O Feb 4, 2026
0cdb87a
8372661: Add a null-safe static factory method to "jdk.test.lib.net.S…
Feb 4, 2026
714632e
8373362: Http3TestServer should not log an exception stack trace when…
Feb 4, 2026
f84f355
8373931: Test javax/sound/sampled/Clip/AutoCloseTimeCheck.java timed out
manukumarvs Feb 5, 2026
d66fbe2
Merge
Feb 10, 2026
b0d6432
8367994: test/jdk/sun/security/pkcs11/Signature/ tests pass when they…
Feb 10, 2026
3de44e1
8375057: Update HarfBuzz to 12.3.2
Renjithkannath Feb 11, 2026
113f561
8375598: VM crashes with "assert((labs(val) & 0xFFFFFFFF00000000) == …
hgqxjj Feb 12, 2026
2aeb227
8377509: Add licenses for gcc 14.2.0
JesperIRL Feb 12, 2026
a240c8e
8374506: Incorrect positioning of arrow icon in parent JMenu in Windo…
Feb 12, 2026
efbfb11
8374056: RISC-V: Fix argument passing for the RiscvFlushIcache::flush
RealFYang Feb 13, 2026
7669056
8373021: aarch64: MacroAssembler::arrays_equals reads out of bounds
shipilev Feb 13, 2026
11b7cb9
8297191: [macos] Printing a page range with starting page > 1 results…
aivanov-jdk Feb 13, 2026
7e37a17
8375065: Update LCMS to 2.18
Feb 14, 2026
7d3e1fa
8346154: [XWayland] Some tests fail intermittently in the CI, but not…
manukumarvs Feb 14, 2026
40fec55
8375742: Test java/lang/invoke/MethodHandleProxies/Driver.java does n…
HamzaBenyazid Feb 16, 2026
aa3dffd
Merge
Feb 17, 2026
1cc6640
8376684: Compile OpenJDK in headless mode without required X11 libraries
ThomasDevoogdt Feb 18, 2026
61ea7b2
8377347: jdk/jfr/event/gc/detailed/TestZAllocationStallEvent.java int…
Feb 19, 2026
ec7c18b
8376031: HttpsURLConnection.getServerCertificates() throws "java.lang…
johnyjose30 Feb 19, 2026
748420b
8373716: Refactor further java/util tests from TestNG to JUnit
Feb 19, 2026
0759048
8375231: Refactor util/ServiceLoader tests to use JUnit
Feb 20, 2026
de52ef6
8374998: Failing os::write - remove bad file
MBaesken Feb 20, 2026
3267998
8374744: Enable dumping of APX EGPRs (R16–R31) in JVM fatal error logs
Feb 23, 2026
28bf43f
8378113: Add sun/java2d/OpenGL/ScaleParamsOOB.java to the ProblemList…
rm-gh-8 Feb 23, 2026
6caf03d
8068378: [TEST_BUG]The java/awt/Modal/PrintDialogsTest/PrintDialogsTe…
Feb 23, 2026
78e542e
8377898: Hotspot build on AIX with unused-functions warning reports s…
MBaesken Feb 23, 2026
c93efce
8371503: RETAIN_IMAGE_AFTER_TEST do not work for some tests
Feb 24, 2026
d27e575
8376889: Enhance JfrRecorder::on_create_vm_3() assert output
MBaesken Feb 24, 2026
a2363a3
8376402: Dependencies::print_statistics() and AbstractClassHierarchyW…
MBaesken Feb 24, 2026
3b9724d
8376688: Gtest os.attempt_reserve_memory_between_small_range_fill_hol…
MBaesken Feb 24, 2026
4d6b348
8373537: Migrate "test/jdk/com/sun/net/httpserver/" to null-safe "Sim…
Feb 24, 2026
357cd38
8373623: Refactor Serialization tests for Records to JUnit
Feb 24, 2026
a36b985
8373869: Refactor java/net/httpclient/ThrowingPushPromises*.java test…
Feb 24, 2026
b6cf340
8378353: [PPC64] StringCoding.countPositives causes errors when the l…
TheRealMDoerr Feb 26, 2026
4a51260
8377526: Update Libpng to 1.6.55
jayathirthrao Feb 26, 2026
979afed
8370502: C2: segfault while adding node to IGVN worklist
Feb 26, 2026
ab90478
8378218: MSYS2 reports cygwin triplet causing bash configure failure
Feb 26, 2026
9d02fdf
8373893: Refactor networking http server tests to use JUnit
Feb 26, 2026
c5a2421
8377905: gcc.md included with every build
vidmik Feb 26, 2026
fc4f53d
8373913: Refactor serialization tests to use JUnit
Mar 2, 2026
e5168fa
8376308: java/net/httpclient/CancelRequestTest.java fails intermitten…
Mar 2, 2026
598c0fb
8378561: Mark gc/shenandoah/compiler/TestLinkToNativeRBP.java as /native
Mar 3, 2026
02469dc
8373718: jdk/internal/misc/VM/RuntimeArguments.java test fails in Vir…
Mar 3, 2026
8e84d18
8378871: CPU feature flags are not properly set in vm_version_windows…
Mar 4, 2026
eec5c85
8373290: Update FreeType to 2.14.1
jayathirthrao Mar 5, 2026
637b807
8378623: Use unique font names in FormatCharAdvanceTest
jayathirthrao Mar 5, 2026
d2d899f
8376233: Clean up code in Desktop native peer
dmarkov20 Mar 5, 2026
3d23e50
8377932: AOT cache is not rejected when JAR file has changed
Mar 5, 2026
4ee4e28
8377777: Improve logging when rejecting assets from the AOT archive
Mar 5, 2026
bf03b9e
8373847: Test javax/swing/JMenuItem/MenuItemTest/bug6197830.java fail…
truptipatil-13 Mar 5, 2026
940665a
8376151: Test javax/swing/JFileChooser/4966171/bug4966171.java is fai…
manukumarvs Mar 5, 2026
8f4d231
8375999: com/sun/jndi/ldap/LdapPoolTimeoutTest.java fails sporadicall…
Mar 9, 2026
95e3fd4
8379158: Update FreeType to 2.14.2
jayathirthrao Mar 10, 2026
6079cf1
8379035: (tz) Update Timezone Data to 2026a
johnyjose30 Mar 10, 2026
ff97b66
8374769: PPC: MASM::pop_cont_fastpath() should reset _cont_fastpath i…
reinrich Mar 10, 2026
f08337c
8373690: Unexpected Keystore message using jdk.crypto.disabledAlgorithms
coffeys Mar 11, 2026
d266912
8373796: Refactor java/net/httpclient/ThrowingPublishers*.java tests …
Mar 12, 2026
717b3b7
8377602: Create automated test for PageRange
aivanov-jdk Mar 12, 2026
90dcd76
8371420: Still sporadic failures of gc/TestAlwaysPreTouchBehavior.jav…
tejalwakchaure Mar 12, 2026
e4723b1
8170896: TEST_BUG: java/rmi/server/Unreferenced/leaseCheckInterval/Le…
HamzaBenyazid Mar 12, 2026
ab700fa
8377167: javax/imageio/ReadAbortTest.java throw NPE when x11 unavailable
Mar 13, 2026
9292244
8368524: Tests are skipped and shown as passed in test/jdk/sun/securi…
Mar 13, 2026
c0f727e
8377461: Add ZipFile test for incorrect number of entries reported in…
HamzaBenyazid Mar 13, 2026
f5121d9
8377910: Minor cleanup of java/io/FileDescriptor/Sharing.java
HamzaBenyazid Mar 13, 2026
304c296
8377334: Test framework used by langtools regression tests can produc…
HamzaBenyazid Mar 13, 2026
9cad32a
8373866: Refactor java/net/httpclient/ThrowingSubscribers*.java tests…
Mar 13, 2026
ad38dd3
8379256: Update GIFlib to 6.1.1
Mar 13, 2026
d16ec82
8376104: C2 crashes in PhiNode::Ideal(PhaseGVN*, bool) accessing NULL…
Mar 16, 2026
0ce90c2
8373120: Virtual thread stuck in BLOCKED state
shipilev Mar 16, 2026
346ca4d
8279196: Test: jdk/jfr/event/gc/stacktrace/TestG1OldAllocationPending…
Mar 17, 2026
4ab0cfa
8373239: Test java/awt/print/PrinterJob/PageRanges.java fails with in…
aivanov-jdk Mar 18, 2026
2573637
8378417: Printing All pages results in NPE for 1.1 PrintJob
aivanov-jdk Mar 18, 2026
a30950e
8374711: Hotspot runtime/CommandLine/OptionsValidation/TestOptionsWit…
tejalwakchaure Mar 18, 2026
66f1917
8373830: Refactor test/jdk/java/time/test tests to use JUnit over TestNG
Mar 19, 2026
0c9b667
8278102: containers/docker/TestJcmd.java failed with "RuntimeExceptio…
Domest0s Mar 20, 2026
1b67e79
8378201: [OGL] glXMakeContextCurrent() drops the buffers of the unbou…
Renjithkannath Mar 20, 2026
a87563e
8372377: Test java/io/File/GetXSpace.java failed: The system cannot f…
Mar 23, 2026
1ccd3e0
8377949: TestZRelocationSetEvent.java intermittent fails OOME
Mar 24, 2026
79f7329
8379967: (process) Improve ProcessBuilder error reporting
tstuefe Mar 24, 2026
93d721f
8380011: Path-to-gcroots search should not trigger stack overflows
tstuefe Mar 24, 2026
ba9adbe
8379416: AIX build fails if system (not GNU) date tool is in PATH
MBaesken Mar 24, 2026
cda8b39
8378727: [macOS] Missing dispatch_release for semaphores in CDesktopPeer
dmarkov20 Mar 24, 2026
6cc21ce
8374304: MultiResolutionSplashTest.java fails in CI: "Image with wron…
aivanov-jdk Mar 24, 2026
f623d5a
8380078: Update GIFlib to 6.1.2
Mar 24, 2026
81226fb
8379499: [AIX] headless-only build of libjawt.so fails
MBaesken Mar 25, 2026
120b93a
8379202: Support linktime-gc on Linux with clang
MBaesken Mar 25, 2026
eab3a56
8377512: AOT cache creation fails with invalid native pointer
iklam Mar 25, 2026
4d40b46
8377944: LowMemoryTest2.java#id1 intermittent fails OOME: Metaspace
Mar 26, 2026
33ac78d
8374371: Failed assertion in G1HeapRegion gtest
Mar 26, 2026
05dc968
8379952: Revert JDK-8365711: Restore protected visibility of menuBarH…
mrserb Mar 26, 2026
c279475
8375010: C2 VectorAPI: assert(vbox->is_CheckCastPP()) failed: should …
Mar 27, 2026
90fce6f
8366138: Parse::jump_switch_ranges() could cause stack overflow when …
Mar 27, 2026
b277071
8378836: Enable linktime-gc by default on Linux ppc64le
MBaesken Mar 27, 2026
92f9011
8380663: Update jcmd man page to include AOT.end_recording diagnostic…
ammbra Mar 30, 2026
a96c128
8347938: Add Support for the Latest ML-KEM and ML-DSA Private Key Enc…
Mar 31, 2026
e412f74
8369950: TLS connection to IPv6 address fails with BCJSSE due to Ille…
GoeLin Mar 31, 2026
2a19f73
8378878: Refactor java/nio/channels/AsynchronousSocketChannel test to…
Apr 1, 2026
0d25196
8359433: The final modifier on Windows L&F internal UI classes preven…
mrserb Apr 1, 2026
950d2c8
8374343: Fix SIGSEGV when lib/modules is unreadable
Apr 2, 2026
1fff87a
8380959: Update Libpng to 1.6.56
jayathirthrao Apr 7, 2026
2aec1ce
8381596: Adjust checks which use supports_ht() on x86 for hybrid CPUs
Apr 7, 2026
d8f0700
8375294: (fs) Files.copy can fail with EOPNOTSUPP when copy_file_rang…
Apr 7, 2026
7f631ea
8378713: C2: performance regression due to missing constant folding f…
tabjy Apr 7, 2026
7f4d121
8380565: PPC64: deoptimization stub should save vector registers
TheRealMDoerr Apr 8, 2026
5755ce6
8381205: GHA: Upgrade Node.js 20 to 24
jerboaa Apr 8, 2026
6ce0e55
8368977: Provide clear naming for AVX10 identifiers
Apr 8, 2026
a6c3cb7
8381745: Ensure Modal/FileDialog tests explicitly reference Asserts c…
aivanov-jdk Apr 9, 2026
f262923
8376956: Add JVMTI phase entering/setting to hserr event log
MBaesken Apr 13, 2026
246d526
8373944: ObjectMonitor::ExitOnSuspend can call java_lang_VirtualThrea…
pchilano Apr 13, 2026
fcaac8d
8380947: Add pull request template
erikj79 Apr 14, 2026
624bedf
8373928: 4 Dangling pointer defect groups in java.c
Apr 14, 2026
0844731
8376185: NoSuchFieldError thrown after a record with type annotation …
Apr 14, 2026
66765e3
8323792: ThreadSnapshot::initialize can cause assert in Thread::check…
Apr 15, 2026
393d341
8382047: Update Libpng to 1.6.57
jayathirthrao Apr 15, 2026
30401d8
8380409: JVM crashes when -XX:AOTMode=create uses app.aotconf generat…
iklam Apr 16, 2026
ab1ad1f
8376152: Test javax/sound/sampled/Clip/bug5070081.java timed out then…
manukumarvs Apr 17, 2026
510446b
8379516: Adjust JVM debug helper exports
MBaesken Apr 20, 2026
cbdd9be
8379425: Windows and macOS should not allow unsupported headless-only…
MBaesken Apr 20, 2026
a260e34
8381937: Make exceptions in Java_sun_security_mscapi_CKeyPairGenerato…
MBaesken Apr 20, 2026
3b3aabe
8378764: fileStream::fileSize() fails for >2GB files on Windows
schmelter-sap Apr 20, 2026
cd95619
8381670: Revert the changes to GZIPInputStream related to InputStream…
Apr 21, 2026
683f53b
Merge
Apr 21, 2026
62e4411
8382242: JFR: Metadata reconstruction invalidates ConstantMap for jav…
Apr 22, 2026
81c0078
8376479: Http3 test server thread deadlock in ThrowingPublishersInReq…
govsrini Apr 22, 2026
cb99ded
8377534: Test java/awt/print/PrinterJob/PrintNullString.java fails wi…
manukumarvs Apr 22, 2026
fe302e8
8380222: Refactor test/jdk/java/lang/Character TestNG tests to JUnit
Apr 22, 2026
d443823
8378631: Update Zlib Data Compression Library to Version 1.3.2
coffeys Apr 23, 2026
23e3b68
8374322: TestMemoryWithSubgroups.java fails Permission denied
Apr 27, 2026
2186862
8379457: Test EATests.java#id0 ERROR: monitor list errors: error_cnt=1
TheRealMDoerr Apr 27, 2026
a4320c6
8374051: Incorrect parameterized testing of exceptions in AbstractDat…
govsrini Apr 27, 2026
2b88505
8319326: GC: Make TestParallelRefProc use createTestJavaProcessBuilder
ghmaimon Apr 27, 2026
2744a54
8382740: JFR: Disable jdk.OldObjectSample event for generational ZGC
Apr 27, 2026
df1d4d5
Merge commit '2744a546f799bf0f4939ab71c3be166f0e1c651f' into sapmachi…
RealCLanger Jun 30, 2026
0ca08d6
8384158: GHA: Downgrade Windows GHA runners to windows-2022 temporarily
shipilev May 11, 2026
b22269e
8386551: Windows build broken because of MSys2/Make update
raneashay Jun 16, 2026
c93bf38
8374888: Implement internal test cache to help UserIterCount test per…
coffeys Jan 28, 2026
62d37f3
8384815: SelectOneKeyOutOfMany and PreferredKey fail after expired te…
May 19, 2026
e19718a
8385022: ZGC: Crash with sparse NUMA node configuration
jsikstro May 28, 2026
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
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions .github/actions/build-jtreg/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ runs:

- name: 'Check cache for already built JTReg'
id: get-cached
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: jtreg/installed
key: jtreg-${{ steps.version.outputs.value }}

- name: 'Checkout the JTReg source'
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
repository: openjdk/jtreg
ref: jtreg-${{ steps.version.outputs.value }}
Expand All @@ -61,7 +61,7 @@ runs:
if: (steps.get-cached.outputs.cache-hit != 'true')

- name: 'Upload JTReg artifact'
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: bundles-jtreg-${{ steps.version.outputs.value }}
path: jtreg/installed
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/do-build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,15 @@ runs:
shell: bash

- name: 'Upload build logs'
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
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@v7
uses: actions/github-script@v8
with:
script: core.setFailed('Build failed. See summary for details.')
if: steps.check.outputs.failure == 'true'
2 changes: 1 addition & 1 deletion .github/actions/get-bootjdk/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ runs:

- name: 'Check cache for BootJDK'
id: get-cached-bootjdk
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: bootjdk/jdk
key: boot-jdk-${{ inputs.platform }}-${{ steps.sha256.outputs.value }}
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/get-bundles/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,22 +54,22 @@ runs:
steps:
- name: 'Download bundles artifact'
id: download-bundles
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: bundles-${{ inputs.platform }}${{ inputs.debug-suffix }}
path: bundles
continue-on-error: true

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

- name: 'Download static bundles artifact'
id: download-static-bundles
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: bundles-${{ inputs.platform }}${{ inputs.debug-suffix }}${{ inputs.static-suffix }}
path: bundles
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/get-gtest/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ runs:
var: GTEST_VERSION

- name: 'Checkout GTest source'
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
repository: google/googletest
ref: 'v${{ steps.version.outputs.value }}'
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/get-jtreg/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ runs:

- name: 'Download JTReg artifact'
id: download-jtreg
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: bundles-jtreg-${{ steps.version.outputs.value }}
path: jtreg/installed
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/get-msys2/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ runs:
steps:
- name: 'Install MSYS2'
id: msys2
uses: msys2/setup-msys2@v2.28.0
uses: msys2/setup-msys2@v2.31.0
with:
install: 'autoconf tar unzip zip make'
path-type: minimal
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/upload-bundles/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ runs:
shell: bash

- name: 'Upload bundles artifact'
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: bundles-${{ inputs.platform }}${{ inputs.debug-suffix }}${{ inputs.static-suffix }}${{ inputs.bundle-suffix }}
path: bundles
Expand Down
5 changes: 5 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@



---------
- [ ] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).
2 changes: 1 addition & 1 deletion .github/workflows/build-alpine-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:

steps:
- name: 'Checkout the JDK source'
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: 'Install toolchain and dependencies'
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-cross-compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:

steps:
- name: 'Checkout the JDK source'
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: 'Get the BootJDK'
id: bootjdk
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:

- name: 'Check cache for sysroot'
id: get-cached-sysroot
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: sysroot
key: sysroot-${{ matrix.debian-arch }}-${{ hashFiles('./.github/workflows/build-cross-compile.yml') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:

steps:
- name: 'Checkout the JDK source'
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: 'Get the BootJDK'
id: bootjdk
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:

steps:
- name: 'Checkout the JDK source'
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: 'Get the BootJDK'
id: bootjdk
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ on:
platform:
required: true
type: string
runs-on:
required: true
type: string
extra-conf-options:
required: false
type: string
Expand Down Expand Up @@ -67,7 +70,7 @@ env:
jobs:
build-windows:
name: build
runs-on: windows-2025
runs-on: ${{ inputs.runs-on }}
defaults:
run:
shell: bash
Expand All @@ -83,7 +86,7 @@ jobs:

steps:
- name: 'Checkout the JDK source'
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: 'Get MSYS2'
uses: ./.github/actions/get-msys2
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:

steps:
- name: 'Checkout the scripts'
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
sparse-checkout: |
.github
Expand Down Expand Up @@ -373,6 +373,7 @@ jobs:
uses: ./.github/workflows/build-windows.yml
with:
platform: windows-x64
runs-on: windows-2022
msvc-toolset-version: '14.44'
msvc-toolset-architecture: 'x86.x64'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
Expand All @@ -386,6 +387,7 @@ jobs:
uses: ./.github/workflows/build-windows.yml
with:
platform: windows-aarch64
runs-on: windows-2022
msvc-toolset-version: '14.44'
msvc-toolset-architecture: 'arm64'
make-target: 'hotspot'
Expand Down Expand Up @@ -466,6 +468,6 @@ jobs:
with:
platform: windows-x64
bootjdk-platform: windows-x64
runs-on: windows-2025
runs-on: windows-2022
dry-run: ${{ needs.prepare.outputs.dry-run == 'true' }}
debug-suffix: -debug
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ jobs:

steps:
- name: 'Checkout the JDK source'
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: 'Get MSYS2'
uses: ./.github/actions/get-msys2
Expand Down Expand Up @@ -239,15 +239,15 @@ jobs:
if: always()

- name: 'Upload test results'
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
path: results
name: ${{ steps.package.outputs.artifact-name }}
if: always()

# This is the best way I found to abort the job with an error message
- name: 'Notify about test failures'
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
script: core.setFailed('${{ steps.run-tests.outputs.error-message }}')
if: steps.run-tests.outputs.failure == 'true'
2 changes: 1 addition & 1 deletion .jcheck/conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[general]
project=jdk-updates
jbs=JDK
version=26.0.1
version=26.0.2

[checks]
error=author,committer,reviewers,merge,issues,executable,symlink,message,hg-tag,whitespace,problemlists,copyright
Expand Down
7 changes: 3 additions & 4 deletions doc/building.html
Original file line number Diff line number Diff line change
Expand Up @@ -1385,10 +1385,9 @@ <h4 id="alsa-1">ALSA</h4>
can specify it by <code>--with-alsa</code>.</p></li>
</ul>
<h4 id="x11-1">X11</h4>
<p>You will need X11 libraries suitable for your <em>target</em> system.
In most cases, using Debian's pre-built libraries work fine.</p>
<p>Note that X11 is needed even if you only want to build a headless
JDK.</p>
<p>When not building a headless JDK, you will need X11 libraries
suitable for your <em>target</em> system. In most cases, using Debian's
pre-built libraries work fine.</p>
<ul>
<li><p>Go to <a href="https://www.debian.org/distrib/packages">Debian
Package Search</a>, search for the following packages for your
Expand Down
6 changes: 2 additions & 4 deletions doc/building.md
Original file line number Diff line number Diff line change
Expand Up @@ -1178,10 +1178,8 @@ Note that alsa is needed even if you only want to build a headless JDK.

#### X11

You will need X11 libraries suitable for your *target* system. In most cases,
using Debian's pre-built libraries work fine.

Note that X11 is needed even if you only want to build a headless JDK.
When not building a headless JDK, you will need X11 libraries suitable for your
*target* system. In most cases, using Debian's pre-built libraries work fine.

* Go to [Debian Package Search](https://www.debian.org/distrib/packages),
search for the following packages for your *target* system, and download them
Expand Down
10 changes: 7 additions & 3 deletions make/autoconf/basic_tools.m4
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2025, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2026, 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
Expand Down Expand Up @@ -148,7 +148,7 @@ AC_DEFUN([BASIC_CHECK_MAKE_VERSION],
if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
MAKE_EXPECTED_ENV='cygwin'
elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys2"; then
MAKE_EXPECTED_ENV='msys'
MAKE_EXPECTED_ENV='cygwin|msys'
elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.wsl1" || test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.wsl2"; then
if test "x$OPENJDK_BUILD_CPU" = "xaarch64"; then
MAKE_EXPECTED_ENV='aarch64-.*-linux-gnu'
Expand All @@ -159,7 +159,7 @@ AC_DEFUN([BASIC_CHECK_MAKE_VERSION],
AC_MSG_ERROR([Unknown Windows environment])
fi
MAKE_BUILT_FOR=`$MAKE_CANDIDATE --version | $GREP -i 'built for'`
IS_MAKE_CORRECT_ENV=`$ECHO $MAKE_BUILT_FOR | $GREP $MAKE_EXPECTED_ENV`
IS_MAKE_CORRECT_ENV=`$ECHO $MAKE_BUILT_FOR | $GREP -E $MAKE_EXPECTED_ENV`
else
# Not relevant for non-Windows
IS_MAKE_CORRECT_ENV=true
Expand Down Expand Up @@ -369,6 +369,10 @@ AC_DEFUN_ONCE([BASIC_SETUP_COMPLEX_TOOLS],
IS_GNU_DATE=yes
else
AC_MSG_RESULT([no])
# Likely at the AIX provided version of the date utility here, which is not compatible
if test "x$OPENJDK_TARGET_OS" = "xaix"; then
AC_MSG_ERROR([gnu date from AIX toolbox is required])
fi
IS_GNU_DATE=no
fi
AC_SUBST(IS_GNU_DATE)
Expand Down
5 changes: 5 additions & 0 deletions make/autoconf/flags-cflags.m4
Original file line number Diff line number Diff line change
Expand Up @@ -546,6 +546,11 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
TOOLCHAIN_CFLAGS_JDK_CONLY="-fno-strict-aliasing" # technically NOT for CXX
fi

if test "x$ENABLE_LINKTIME_GC" = xtrue; then
TOOLCHAIN_CFLAGS_JDK="$TOOLCHAIN_CFLAGS_JDK -ffunction-sections -fdata-sections"
TOOLCHAIN_CFLAGS_JVM="$TOOLCHAIN_CFLAGS_JVM -ffunction-sections -fdata-sections"
fi

if test "x$OPENJDK_TARGET_OS" = xaix; then
TOOLCHAIN_CFLAGS_JVM="$TOOLCHAIN_CFLAGS_JVM -ffunction-sections -ftls-model -fno-math-errno"
TOOLCHAIN_CFLAGS_JDK="-ffunction-sections -fsigned-char"
Expand Down
4 changes: 4 additions & 0 deletions make/autoconf/flags-ldflags.m4
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ AC_DEFUN([FLAGS_SETUP_LDFLAGS_HELPER],
if test "x$CXX_IS_USER_SUPPLIED" = xfalse && test "x$CC_IS_USER_SUPPLIED" = xfalse; then
UTIL_REQUIRE_TOOLCHAIN_PROGS(LLD, lld)
fi

if test "x$ENABLE_LINKTIME_GC" = xtrue; then
BASIC_LDFLAGS_JDK_ONLY="$BASIC_LDFLAGS_JDK_ONLY -Wl,--gc-sections"
fi
fi
if test "x$OPENJDK_TARGET_OS" = xaix; then
BASIC_LDFLAGS="-Wl,-b64 -Wl,-brtl -Wl,-bnorwexec -Wl,-blibpath:/usr/lib:lib -Wl,-bnoexpall \
Expand Down
15 changes: 13 additions & 2 deletions make/autoconf/jdk-options.m4
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,20 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_JDK_OPTIONS],
CHECKING_MSG: [if we should build headless-only (no GUI)])
AC_SUBST(ENABLE_HEADLESS_ONLY)

# Avoid headless-only on macOS and Windows, it is not supported there
if test "x$ENABLE_HEADLESS_ONLY" = xtrue; then
if test "x$OPENJDK_TARGET_OS" = xwindows || test "x$OPENJDK_TARGET_OS" = xmacosx; then
AC_MSG_ERROR([headless-only is not supported on macOS and Windows])
fi
fi

# should we linktime gc unused code sections in the JDK build ?
if test "x$OPENJDK_TARGET_OS" = "xlinux" && test "x$OPENJDK_TARGET_CPU" = xs390x; then
LINKTIME_GC_DEFAULT=true
if test "x$OPENJDK_TARGET_OS" = "xlinux"; then
if test "x$OPENJDK_TARGET_CPU" = "xs390x" || test "x$OPENJDK_TARGET_CPU" = "xppc64le"; then
LINKTIME_GC_DEFAULT=true
else
LINKTIME_GC_DEFAULT=false
fi
else
LINKTIME_GC_DEFAULT=false
fi
Expand Down
8 changes: 4 additions & 4 deletions make/autoconf/libraries.m4
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ m4_include([lib-tests.m4])
AC_DEFUN_ONCE([LIB_DETERMINE_DEPENDENCIES],
[
# Check if X11 is needed
if test "x$OPENJDK_TARGET_OS" = xwindows || test "x$OPENJDK_TARGET_OS" = xmacosx; then
# No X11 support on windows or macosx
if test "x$OPENJDK_TARGET_OS" = xwindows ||
test "x$OPENJDK_TARGET_OS" = xmacosx ||
test "x$ENABLE_HEADLESS_ONLY" = xtrue; then
NEEDS_LIB_X11=false
else
# All other instances need X11, even if building headless only, libawt still
# needs X11 headers.
# All other instances need X11 for libawt.
NEEDS_LIB_X11=true
fi

Expand Down
Loading
Loading