Skip to content

Commit e0a241a

Browse files
committed
Merge
2 parents 2401087 + aff25f1 commit e0a241a

File tree

750 files changed

+22448
-12843
lines changed

Some content is hidden

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

750 files changed

+22448
-12843
lines changed

.github/workflows/build-alpine-linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ on:
5959
jobs:
6060
build-linux:
6161
name: build
62-
runs-on: ubuntu-22.04
62+
runs-on: ubuntu-24.04
6363
container:
6464
image: alpine:3.20
6565

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ on:
4848
jobs:
4949
build-cross-compile:
5050
name: build
51-
runs-on: ubuntu-22.04
51+
runs-on: ubuntu-24.04
5252

5353
strategy:
5454
fail-fast: false

.github/workflows/build-linux.yml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ on:
7575
jobs:
7676
build-linux:
7777
name: build
78-
runs-on: ubuntu-22.04
78+
runs-on: ubuntu-24.04
7979

8080
strategy:
8181
fail-fast: false
@@ -115,9 +115,21 @@ jobs:
115115
if [[ '${{ inputs.apt-architecture }}' != '' ]]; then
116116
sudo dpkg --add-architecture ${{ inputs.apt-architecture }}
117117
fi
118-
sudo apt-get update
119-
sudo apt-get install --only-upgrade apt
120-
sudo apt-get install gcc-${{ inputs.gcc-major-version }}${{ inputs.gcc-package-suffix }} g++-${{ inputs.gcc-major-version }}${{ inputs.gcc-package-suffix }} libxrandr-dev${{ steps.arch.outputs.suffix }} libxtst-dev${{ steps.arch.outputs.suffix }} libcups2-dev${{ steps.arch.outputs.suffix }} libasound2-dev${{ steps.arch.outputs.suffix }} ${{ inputs.apt-extra-packages }}
118+
sudo apt update
119+
sudo apt install --only-upgrade apt
120+
sudo apt install \
121+
gcc-${{ inputs.gcc-major-version }}${{ inputs.gcc-package-suffix }} \
122+
g++-${{ inputs.gcc-major-version }}${{ inputs.gcc-package-suffix }} \
123+
libasound2-dev${{ steps.arch.outputs.suffix }} \
124+
libcups2-dev${{ steps.arch.outputs.suffix }} \
125+
libfontconfig1-dev${{ steps.arch.outputs.suffix }} \
126+
libx11-dev${{ steps.arch.outputs.suffix }} \
127+
libxext-dev${{ steps.arch.outputs.suffix }} \
128+
libxrandr-dev${{ steps.arch.outputs.suffix }} \
129+
libxrender-dev${{ steps.arch.outputs.suffix }} \
130+
libxt-dev${{ steps.arch.outputs.suffix }} \
131+
libxtst-dev${{ steps.arch.outputs.suffix }} \
132+
${{ inputs.apt-extra-packages }}
121133
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-${{ inputs.gcc-major-version }} 100 --slave /usr/bin/g++ g++ /usr/bin/g++-${{ inputs.gcc-major-version }}
122134
123135
- name: 'Configure'

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757

5858
prepare:
5959
name: 'Prepare the run'
60-
runs-on: ubuntu-22.04
60+
runs-on: ubuntu-24.04
6161
env:
6262
# List of platforms to exclude by default
6363
EXCLUDED_PLATFORMS: 'alpine-linux-x64'
@@ -405,7 +405,7 @@ jobs:
405405
with:
406406
platform: linux-x64
407407
bootjdk-platform: linux-x64
408-
runs-on: ubuntu-22.04
408+
runs-on: ubuntu-24.04
409409
dry-run: ${{ needs.prepare.outputs.dry-run == 'true' }}
410410
debug-suffix: -debug
411411

@@ -419,7 +419,7 @@ jobs:
419419
with:
420420
platform: linux-x64
421421
bootjdk-platform: linux-x64
422-
runs-on: ubuntu-22.04
422+
runs-on: ubuntu-24.04
423423
dry-run: ${{ needs.prepare.outputs.dry-run == 'true' }}
424424
static-suffix: "-static"
425425

bin/generate-symbol-data.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
# directory.
3939
# - open a terminal program and run these commands:
4040
# cd "${JDK_CHECKOUT}"/src/jdk.compiler/share/data/symbols
41-
# bash ../../../../../make/scripts/generate-symbol-data.sh "${JDK_N_INSTALL}"
41+
# bash ../../../../../bin/generate-symbol-data.sh "${JDK_N_INSTALL}"
4242
# - this command will generate or update data for "--release N" into the ${JDK_CHECKOUT}/src/jdk.compiler/share/data/symbols
4343
# directory, updating all registration necessary. If the goal was to update the data, and there are no
4444
# new or changed files in the ${JDK_CHECKOUT}/src/jdk.compiler/share/data/symbols directory after running this script,

doc/building.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -541,6 +541,11 @@ <h3 id="macos">macOS</h3>
541541
this.</p>
542542
<p>It is recommended that you use at least macOS 14 and Xcode 15.4, but
543543
earlier versions may also work.</p>
544+
<p>Starting with Xcode 26, introduced in macOS 26, the Metal toolchain
545+
no longer comes bundled with Xcode, so it needs to be installed
546+
separately. This can either be done via the Xcode's Settings/Components
547+
UI, or in the command line calling
548+
<code>xcodebuild -downloadComponent metalToolchain</code>.</p>
544549
<p>The standard macOS environment contains the basic tooling needed to
545550
build, but for external libraries a package manager is recommended. The
546551
JDK uses <a href="https://brew.sh/">homebrew</a> in the examples, but

doc/building.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,11 @@ on some strategies to deal with this.
352352
It is recommended that you use at least macOS 14 and Xcode 15.4, but
353353
earlier versions may also work.
354354

355+
Starting with Xcode 26, introduced in macOS 26, the Metal toolchain no longer
356+
comes bundled with Xcode, so it needs to be installed separately. This can
357+
either be done via the Xcode's Settings/Components UI, or in the command line
358+
calling `xcodebuild -downloadComponent metalToolchain`.
359+
355360
The standard macOS environment contains the basic tooling needed to build, but
356361
for external libraries a package manager is recommended. The JDK uses
357362
[homebrew](https://brew.sh/) in the examples, but feel free to use whatever

doc/starting-next-release.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,9 @@ <h3 id="test-files"><code>test</code> files</h3>
119119
and
120120
<code>test/langtools/tools/javac/preview/classReaderTest/Client.preview.out</code>:
121121
update expected messages for preview errors and warnings</li>
122+
<li><code>test/langtools/tools/javac/versions/Versions.java</code>: add
123+
new source version to the set of valid sources and add new enum constant
124+
for the new class file version.</li>
122125
</ul>
123126
</body>
124127
</html>

doc/starting-next-release.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,4 @@ to be updated for a particular release.
6565
* `test/langtools/tools/javac/lib/JavacTestingAbstractProcessor.java`
6666
update annotation processor extended by `javac` tests to cover the new source version
6767
* `test/langtools/tools/javac/preview/classReaderTest/Client.nopreview.out` and `test/langtools/tools/javac/preview/classReaderTest/Client.preview.out`: update expected messages for preview errors and warnings
68-
68+
* `test/langtools/tools/javac/versions/Versions.java`: add new source version to the set of valid sources and add new enum constant for the new class file version.

make/RunTests.gmk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1157,6 +1157,7 @@ define SetupRunJtregTestBody
11571157
$$(EXPR) $$($1_PASSED) + $$($1_FAILED) + $$($1_ERROR) + $$($1_SKIPPED))) \
11581158
, \
11591159
$$(eval $1_PASSED_AND_RUNTIME_SKIPPED := 0) \
1160+
$$(eval $1_PASSED := 0) \
11601161
$$(eval $1_RUNTIME_SKIPPED := 0) \
11611162
$$(eval $1_SKIPPED := 0) \
11621163
$$(eval $1_FAILED := 0) \

0 commit comments

Comments
 (0)