Skip to content

Commit 28b4e45

Browse files
authored
Merge pull request #989 from dragonwell-project/dragonwell_standard-11.0.32.28.9
Merge tag 'jdk-11.0.32+9' into dragonwell_standard-11.0.32.28.9
2 parents 1b17537 + 372dece commit 28b4e45

214 files changed

Lines changed: 6317 additions & 3083 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/pull_request_template.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
2+
3+
4+
---------
5+
- [ ] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).

.github/workflows/build-cross-compile.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,23 +59,23 @@ jobs:
5959
gnu-arch: aarch64
6060
debian-arch: arm64
6161
debian-repository: https://httpredir.debian.org/debian/
62-
debian-version: bookworm
62+
debian-version: trixie
6363
- target-cpu: arm
6464
gnu-arch: arm
6565
debian-arch: armhf
6666
debian-repository: https://httpredir.debian.org/debian/
67-
debian-version: bookworm
67+
debian-version: trixie
6868
gnu-abi: eabihf
6969
- target-cpu: s390x
7070
gnu-arch: s390x
7171
debian-arch: s390x
7272
debian-repository: https://httpredir.debian.org/debian/
73-
debian-version: bookworm
73+
debian-version: trixie
7474
- target-cpu: ppc64le
7575
gnu-arch: powerpc64le
7676
debian-arch: ppc64el
7777
debian-repository: https://httpredir.debian.org/debian/
78-
debian-version: bookworm
78+
debian-version: trixie
7979

8080
steps:
8181
- name: 'Checkout the JDK source'

.github/workflows/build-windows.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ on:
3131
platform:
3232
required: true
3333
type: string
34+
runs-on:
35+
required: true
36+
type: string
3437
extra-conf-options:
3538
required: false
3639
type: string
@@ -63,7 +66,7 @@ env:
6366
jobs:
6467
build-windows:
6568
name: build
66-
runs-on: windows-2025
69+
runs-on: ${{ inputs.runs-on }}
6770
defaults:
6871
run:
6972
shell: bash

.github/workflows/main.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ jobs:
246246
uses: ./.github/workflows/build-windows.yml
247247
with:
248248
platform: windows-x64
249+
runs-on: windows-2022
249250
msvc-toolset-version: '14.44'
250251
msvc-toolset-architecture: 'x86.x64'
251252
configure-arguments: ${{ github.event.inputs.configure-arguments }}
@@ -258,6 +259,7 @@ jobs:
258259
uses: ./.github/workflows/build-windows.yml
259260
with:
260261
platform: windows-aarch64
262+
runs-on: windows-2022
261263
msvc-toolset-version: '14.44'
262264
msvc-toolset-architecture: 'arm64'
263265
make-target: 'hotspot'
@@ -308,5 +310,4 @@ jobs:
308310
with:
309311
platform: windows-x64
310312
bootjdk-platform: windows-x64
311-
runs-on: windows-2025
312-
313+
runs-on: windows-2022

.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.31
4+
version=11.0.32
55

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

make/RunTests.gmk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -913,7 +913,7 @@ UseSpecialTestHandler = \
913913
# Now process each test to run and setup a proper make rule
914914
$(foreach test, $(TESTS_TO_RUN), \
915915
$(eval TEST_ID := $(shell $(ECHO) $(strip $(test)) | \
916-
$(TR) -cs '[a-z][A-Z][0-9]\n' '[_*1000]')) \
916+
$(SED) -E 's/[^0-9A-Za-z]/_/g' | $(TR) -s '_')) \
917917
$(eval ALL_TEST_IDS += $(TEST_ID)) \
918918
$(if $(call UseCustomTestHandler, $(test)), \
919919
$(eval $(call SetupRunCustomTest, $(TEST_ID), \
@@ -964,9 +964,9 @@ run-test: $(TARGETS)
964964
TEST TOTAL PASS FAIL ERROR " "
965965
$(foreach test, $(TESTS_TO_RUN), \
966966
$(eval TEST_ID := $(shell $(ECHO) $(strip $(test)) | \
967-
$(TR) -cs '[a-z][A-Z][0-9]\n' '[_*1000]')) \
967+
$(SED) -E 's/[^0-9A-Za-z]/_/g' | $(TR) -s '_')) \
968968
$(ECHO) >> $(TEST_LAST_IDS) $(TEST_ID) $(NEWLINE) \
969-
$(eval NAME_PATTERN := $(shell $(ECHO) $(test) | $(TR) -c '\n' '[_*1000]')) \
969+
$(eval NAME_PATTERN := $(shell $(ECHO) $(test) | $(TR) -c '\n' '_')) \
970970
$(if $(filter __________________________________________________%, $(NAME_PATTERN)), \
971971
$(eval TEST_NAME := ) \
972972
$(PRINTF) >> $(TEST_SUMMARY) "%2s %-49s\n" " " "$(test)" $(NEWLINE) \

make/autoconf/basic_tools.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,12 +143,12 @@ AC_DEFUN([BASIC_CHECK_MAKE_VERSION],
143143
if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
144144
MAKE_EXPECTED_ENV='cygwin'
145145
elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys2"; then
146-
MAKE_EXPECTED_ENV='msys'
146+
MAKE_EXPECTED_ENV='cygwin|msys'
147147
else
148148
AC_MSG_ERROR([Unknown Windows environment])
149149
fi
150150
MAKE_BUILT_FOR=`$MAKE_CANDIDATE --version | $GREP -i 'built for'`
151-
IS_MAKE_CORRECT_ENV=`$ECHO $MAKE_BUILT_FOR | $GREP $MAKE_EXPECTED_ENV`
151+
IS_MAKE_CORRECT_ENV=`$ECHO $MAKE_BUILT_FOR | $GREP -E $MAKE_EXPECTED_ENV`
152152
else
153153
# Not relevant for non-Windows
154154
IS_MAKE_CORRECT_ENV=true

make/autoconf/lib-bundled.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,8 @@ AC_DEFUN_ONCE([LIB_SETUP_ZLIB],
214214
LIBZ_LIBS=""
215215
if test "x$USE_EXTERNAL_LIBZ" = "xfalse"; then
216216
LIBZ_CFLAGS="$LIBZ_CFLAGS -I$TOPDIR/src/java.base/share/native/libzip/zlib"
217-
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
218-
LIBZ_CFLAGS="$LIBZ_CFLAGS -DHAVE_UNISTD_H"
217+
if test "x$OPENJDK_TARGET_OS" = xmacosx -o "x$OPENJDK_TARGET_OS" = xaix -o "x$OPENJDK_TARGET_OS" = xlinux; then
218+
LIBZ_CFLAGS="$LIBZ_CFLAGS -DHAVE_UNISTD_H=1 -DHAVE_STDARG_H=1"
219219
fi
220220
else
221221
LIBZ_LIBS="-lz"

make/autoconf/platform.m4

Lines changed: 7 additions & 1 deletion
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, 2026, 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
@@ -287,6 +287,12 @@ AC_DEFUN([PLATFORM_EXTRACT_TARGET_AND_BUILD],
287287
else
288288
OPENJDK_BUILD_OS_ENV="$VAR_OS"
289289
fi
290+
# Special handling for MSYS2 that reports a Cygwin triplet as the default host triplet.
291+
case `uname` in
292+
MSYS*)
293+
OPENJDK_BUILD_OS_ENV=windows.msys2
294+
;;
295+
esac
290296
OPENJDK_BUILD_CPU="$VAR_CPU"
291297
OPENJDK_BUILD_CPU_ARCH="$VAR_CPU_ARCH"
292298
OPENJDK_BUILD_CPU_BITS="$VAR_CPU_BITS"

make/autoconf/toolchain.m4

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ AC_DEFUN_ONCE([TOOLCHAIN_POST_DETECTION],
364364
[
365365
# Restore old path, except for the microsoft toolchain, which requires the
366366
# toolchain path to remain in place. Otherwise the compiler will not work in
367-
# some siutations in later configure checks.
367+
# some situations in later configure checks.
368368
if test "x$TOOLCHAIN_TYPE" != "xmicrosoft"; then
369369
PATH="$OLD_PATH"
370370
fi
@@ -373,10 +373,6 @@ AC_DEFUN_ONCE([TOOLCHAIN_POST_DETECTION],
373373
# This is necessary since AC_PROG_CC defaults CFLAGS to "-g -O2"
374374
CFLAGS="$ORG_CFLAGS"
375375
CXXFLAGS="$ORG_CXXFLAGS"
376-
377-
# filter out some unwanted additions autoconf may add to CXX; we saw this on macOS with autoconf 2.72
378-
UTIL_GET_NON_MATCHING_VALUES(cxx_filtered, $CXX, -std=c++11 -std=gnu++11)
379-
CXX="$cxx_filtered"
380376
])
381377

382378
# Check if a compiler is of the toolchain type we expect, and save the version

0 commit comments

Comments
 (0)