Skip to content

Commit 550a829

Browse files
committed
Merge tag 'jdk-11.0.30+7' into dragonwell_standard-11.0.30.26.7
Added tag jdk-11.0.30+7 for changeset 5d80a0e # -----BEGIN PGP SIGNATURE----- # # iHUEABYKAB0WIQRRMled0VQO0j4ExaDP2g+bNZZCIgUCaWcc/QAKCRDP2g+bNZZC # ItflAPwKkPUPrYoaxPfARrSW/0VKxTZRVfMJPA1nnTzUgAeBmAEA6T89g7Xm0hHO # uw+cVqFr5ZZWVStBtYzYi0s0IPX+zQI= # =C/BN # -----END PGP SIGNATURE----- # gpg: Signature made Wed Jan 14 04:35:09 2026 UTC # gpg: using EDDSA key 5132579DD1540ED23E04C5A0CFDA0F9B35964222 # gpg: Can't check signature: No public key
2 parents 729c869 + 5d80a0e commit 550a829

300 files changed

Lines changed: 8596 additions & 5447 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/build-macos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ on:
5555
jobs:
5656
build-macos:
5757
name: build
58-
runs-on: macos-13
58+
runs-on: macos-15-intel
5959

6060
strategy:
6161
fail-fast: false
@@ -84,7 +84,7 @@ jobs:
8484
run: |
8585
# Run Homebrew installation and xcode-select
8686
brew install make
87-
sudo xcode-select --switch /Applications/Xcode_${{ inputs.xcode-toolset-version }}.app/Contents/Developer
87+
sudo xcode-select --switch /Applications/Xcode_16.4.app/Contents/Developer
8888
# This will make GNU make available as 'make' and not only as 'gmake'
8989
echo '/usr/local/opt/make/libexec/gnubin' >> $GITHUB_PATH
9090

.github/workflows/main.yml

Lines changed: 3 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ jobs:
223223
uses: ./.github/workflows/build-macos.yml
224224
with:
225225
platform: macos-x64
226-
xcode-toolset-version: '14.3.1'
226+
xcode-toolset-version: '16.4'
227227
configure-arguments: ${{ github.event.inputs.configure-arguments }}
228228
make-arguments: ${{ github.event.inputs.make-arguments }}
229229
if: needs.select.outputs.macos-x64 == 'true'
@@ -234,7 +234,7 @@ jobs:
234234
uses: ./.github/workflows/build-macos.yml
235235
with:
236236
platform: macos-aarch64
237-
xcode-toolset-version: '14.3.1'
237+
xcode-toolset-version: '16.4'
238238
extra-conf-options: '--openjdk-target=aarch64-apple-darwin'
239239
configure-arguments: ${{ github.event.inputs.configure-arguments }}
240240
make-arguments: ${{ github.event.inputs.make-arguments }}
@@ -298,7 +298,7 @@ jobs:
298298
with:
299299
platform: macos-x64
300300
bootjdk-platform: macos-x64
301-
runs-on: macos-13
301+
runs-on: macos-15-intel
302302

303303
test-windows-x64:
304304
name: windows-x64
@@ -310,46 +310,3 @@ jobs:
310310
bootjdk-platform: windows-x64
311311
runs-on: windows-2025
312312

313-
# Remove bundles so they are not misconstrued as binary distributions from the JDK project
314-
remove-bundles:
315-
name: 'Remove bundle artifacts'
316-
runs-on: ubuntu-22.04
317-
if: always()
318-
needs:
319-
- build-linux-x64
320-
- build-linux-x86
321-
- build-linux-x64-hs-nopch
322-
- build-linux-x64-hs-zero
323-
- build-linux-x64-hs-minimal
324-
- build-linux-x64-hs-optimized
325-
- build-linux-cross-compile
326-
- build-macos-x64
327-
- build-macos-aarch64
328-
- build-windows-x64
329-
- build-windows-aarch64
330-
- test-linux-x64
331-
- test-linux-x86
332-
- test-macos-x64
333-
- test-windows-x64
334-
335-
steps:
336-
- name: 'Remove bundle artifacts'
337-
run: |
338-
# Find and remove all bundle artifacts
339-
# See: https://docs.github.com/en/rest/actions/artifacts?apiVersion=2022-11-28
340-
ALL_ARTIFACT_IDS="$(curl -sL \
341-
-H 'Accept: application/vnd.github+json' \
342-
-H 'Authorization: Bearer ${{ github.token }}' \
343-
-H 'X-GitHub-Api-Version: 2022-11-28' \
344-
'${{ github.api_url }}/repos/${{ github.repository }}/actions/runs/${{ github.run_id }}/artifacts?per_page=100')"
345-
BUNDLE_ARTIFACT_IDS="$(echo "$ALL_ARTIFACT_IDS" | jq -r -c '.artifacts | map(select(.name|startswith("bundles-"))) | .[].id')"
346-
for id in $BUNDLE_ARTIFACT_IDS; do
347-
echo "Removing $id"
348-
curl -sL \
349-
-X DELETE \
350-
-H 'Accept: application/vnd.github+json' \
351-
-H 'Authorization: Bearer ${{ github.token }}' \
352-
-H 'X-GitHub-Api-Version: 2022-11-28' \
353-
"${{ github.api_url }}/repos/${{ github.repository }}/actions/artifacts/$id" \
354-
|| echo "Failed to remove bundle"
355-
done

.github/workflows/test.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,11 +127,18 @@ jobs:
127127
run: |
128128
# On macOS we need to install some dependencies for testing
129129
brew install make
130-
sudo xcode-select --switch /Applications/Xcode_14.3.1.app/Contents/Developer
130+
sudo xcode-select --switch /Applications/Xcode_16.4.app/Contents/Developer
131131
# This will make GNU make available as 'make' and not only as 'gmake'
132132
echo '/usr/local/opt/make/libexec/gnubin' >> $GITHUB_PATH
133133
if: runner.os == 'macOS'
134134

135+
# Fixes JDK-8336451
136+
- name: 'Update /etc/hosts on macos'
137+
run: |
138+
echo -e "127.0.0.1 $(hostname -f) $(hostname -s)" | sudo tee -a /etc/hosts
139+
echo -e "" | sudo tee -a /etc/hosts
140+
if: runner.os == 'macOS'
141+
135142
- name: 'Set PATH'
136143
id: path
137144
run: |

.jcheck/conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[general]
22
project=jdk-updates
33
jbs=JDK
4-
version=11.0.29
4+
version=11.0.30
55

66
[checks]
77
error=author,committer,reviewers,merge,issues,executable,symlink,message,hg-tag,whitespace,problemlists

doc/building.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,10 @@ <h2 id="native-compiler-toolchain-requirements">Native Compiler (Toolchain) Requ
296296
</tr>
297297
</tbody>
298298
</table>
299+
<p>All compilers are expected to be able to compile to the C99 language standard,
300+
as some C99 features are used in the source code. Microsoft Visual Studio
301+
doesn't fully support C99 so in practice shared code is limited to using C99
302+
features that it does support.</p>
299303
<h3 id="gcc">gcc</h3>
300304
<p>The minimum accepted version of gcc is 4.8. Older versions will generate a warning by <code>configure</code> and are unlikely to work.</p>
301305
<p>The JDK is currently known to be able to compile with at least version 7.4 of gcc.</p>

doc/building.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,11 @@ issues.
313313
| Solaris | Oracle Solaris Studio 12.4 (with compiler version 5.13) |
314314
| Windows | Microsoft Visual Studio 2017 update 15.9.16 |
315315

316+
All compilers are expected to be able to compile to the C99 language standard,
317+
as some C99 features are used in the source code. Microsoft Visual Studio
318+
doesn't fully support C99 so in practice shared code is limited to using C99
319+
features that it does support.
320+
316321
### gcc
317322

318323
The minimum accepted version of gcc is 4.8. Older versions will generate a warning

make/CompileJavaModules.gmk

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -531,8 +531,13 @@ jdk.jfr_ADD_JAVAC_FLAGS := -XDstringConcat=inline -Xlint:-exports
531531
################################################################################
532532
# If this is an imported module that has prebuilt classes, only compile
533533
# module-info.java.
534-
ifneq ($(wildcard $(IMPORT_MODULES_CLASSES)/$(MODULE)), )
535-
$(MODULE)_INCLUDE_FILES := module-info.java
534+
ifneq ($(IMPORT_MODULES_CLASSES), )
535+
IMPORT_MODULE_DIR := $(IMPORT_MODULES_CLASSES)/$(MODULE)
536+
ifneq ($(wildcard $(IMPORT_MODULE_DIR)), )
537+
$(MODULE)_INCLUDE_FILES := module-info.java
538+
endif
539+
else
540+
IMPORT_MODULE_DIR :=
536541
endif
537542

538543
################################################################################
@@ -638,13 +643,13 @@ endif
638643
# If this is an imported module, copy the pre built classes and resources into
639644
# the modules output dir
640645

641-
ifneq ($(wildcard $(IMPORT_MODULES_CLASSES)/$(MODULE)), )
646+
ifneq ($(wildcard $(IMPORT_MODULE_DIR)), )
642647
$(JDK_OUTPUTDIR)/modules/$(MODULE)/_imported.marker: \
643-
$(call FindFiles, $(IMPORT_MODULES_CLASSES)/$(MODULE))
648+
$(call FindFiles, $(IMPORT_MODULE_DIR))
644649
$(call MakeDir, $(@D))
645650
# Do not delete marker and build meta data files
646651
$(RM) -r $(filter-out $(@D)/_%, $(wildcard $(@D)/*))
647-
$(CP) -R $(IMPORT_MODULES_CLASSES)/$(MODULE)/* $(@D)/
652+
$(CP) -R $(IMPORT_MODULE_DIR)/* $(@D)/
648653
$(TOUCH) $@
649654

650655
TARGETS += $(JDK_OUTPUTDIR)/modules/$(MODULE)/_imported.marker

make/autoconf/flags-cflags.m4

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
563563
TOOLCHAIN_CFLAGS="-errshort=tags"
564564
565565
TOOLCHAIN_CFLAGS_JDK="-mt $TOOLCHAIN_FLAGS"
566-
TOOLCHAIN_CFLAGS_JDK_CONLY="-xCC -Xa -W0,-noglobal $TOOLCHAIN_CFLAGS" # C only
566+
TOOLCHAIN_CFLAGS_JDK_CONLY="-W0,-noglobal $TOOLCHAIN_CFLAGS" # C only
567567
TOOLCHAIN_CFLAGS_JDK_CXXONLY="-features=no%except -norunpath -xnolib" # CXX only
568568
TOOLCHAIN_CFLAGS_JVM="-template=no%extdef -features=no%split_init \
569569
-library=stlport4 -mt -features=no%except $TOOLCHAIN_FLAGS"
@@ -584,6 +584,30 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
584584
TOOLCHAIN_CFLAGS_JDK="-nologo -MD -Zc:wchar_t-"
585585
fi
586586
587+
# CFLAGS C language level for JDK sources (hotspot only uses C++)
588+
# Ideally we would have a common level across all toolchains so that all sources
589+
# are sure to conform to the same standard. Unfortunately neither our sources nor
590+
# our toolchains are in a condition to support that. But what we loosely aim for is
591+
# C99 level.
592+
if test "x$TOOLCHAIN_TYPE" = xgcc || test "x$TOOLCHAIN_TYPE" = xclang || test "x$TOOLCHAIN_TYPE" = xxlc; then
593+
# This raises the language level for older 4.8 gcc, while lowering it for later
594+
# versions. clang and xlclang support the same flag.
595+
LANGSTD_CFLAGS="-std=c99"
596+
elif test "x$TOOLCHAIN_TYPE" = xsolstudio; then
597+
# We can't turn on -std=c99 without breaking compilation of the splashscreen/png
598+
# utilities. But we can enable c99 as below (previously achieved by using -Xa).
599+
# It is the no_lib that makes the difference.
600+
LANGSTD_CFLAGS="-xc99=all,no_lib"
601+
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
602+
# MSVC doesn't support C99/C11 explicitly, unless you compile as C++:
603+
# LANGSTD_CFLAGS="/TP"
604+
# but that requires numerous changes to the sources files. So we are limited
605+
# to C89/C90 plus whatever extensions Visual Studio has decided to implement.
606+
# This is the lowest bar for shared code.
607+
LANGSTD_CFLAGS=""
608+
fi
609+
TOOLCHAIN_CFLAGS_JDK_CONLY="$LANGSTD_CFLAGS $TOOLCHAIN_CFLAGS_JDK_CONLY"
610+
587611
# CFLAGS WARNINGS STUFF
588612
# Set JVM_CFLAGS warning handling
589613
if test "x$TOOLCHAIN_TYPE" = xgcc; then

make/autoconf/flags.m4

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2011, 2021, Oracle and/or its affiliates. All rights reserved.
2+
# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
33
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
#
55
# This code is free software; you can redistribute it and/or modify it
@@ -114,16 +114,12 @@ AC_DEFUN([FLAGS_SETUP_MACOSX_VERSION],
114114
# The expected format for <version> is either nn.n.n or nn.nn.nn. See
115115
# /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/AvailabilityVersions.h
116116
117-
# MACOSX_VERSION_MIN specifies the lowest version of Macosx that the built
117+
# MACOSX_VERSION_MIN specifies the lowest version of macOS that the built
118118
# binaries should be compatible with, even if compiled on a newer version
119119
# of the OS. It currently has a hard coded value. Setting this also limits
120120
# exposure to API changes in header files. Bumping this is likely to
121121
# require code changes to build.
122-
if test "x$OPENJDK_TARGET_CPU_ARCH" = xaarch64; then
123-
MACOSX_VERSION_MIN=11.00.00
124-
else
125-
MACOSX_VERSION_MIN=10.12.0
126-
fi
122+
MACOSX_VERSION_MIN=11.00.00
127123
MACOSX_VERSION_MIN_NODOTS=${MACOSX_VERSION_MIN//\./}
128124
129125
AC_SUBST(MACOSX_VERSION_MIN)

make/autoconf/version-numbers

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@
2828

2929
DEFAULT_VERSION_FEATURE=11
3030
DEFAULT_VERSION_INTERIM=0
31-
DEFAULT_VERSION_UPDATE=29
31+
DEFAULT_VERSION_UPDATE=30
3232
DEFAULT_VERSION_PATCH=0
3333
DEFAULT_VERSION_EXTRA1=0
3434
DEFAULT_VERSION_EXTRA2=0
3535
DEFAULT_VERSION_EXTRA3=0
36-
DEFAULT_VERSION_DATE=2025-10-21
36+
DEFAULT_VERSION_DATE=2026-01-20
3737
DEFAULT_VERSION_CLASSFILE_MAJOR=55 # "`$EXPR $DEFAULT_VERSION_FEATURE + 44`"
3838
DEFAULT_VERSION_CLASSFILE_MINOR=0
3939
DEFAULT_ACCEPTABLE_BOOT_VERSIONS="10 11"

0 commit comments

Comments
 (0)