GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Require JDK25 · netty/netty@fbbdfec

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github
    • scripts
      • check_bom_dependencies.sh
    • workflows
      • ci-build-riscv64.yml
      • ci-build.yml
      • ci-deploy.yml
      • ci-pr-reports.yml
      • ci-pr.yml
      • ci-verify-load.yml
      • codeql-analysis.yml
  • buffer
    • pom.xml
  • codec-base
    • pom.xml
  • codec-classes-quic
    • pom.xml
  • codec-compression
    • pom.xml
  • codec-dns
    • pom.xml
  • codec-haproxy
    • pom.xml
  • codec-http2
    • pom.xml
  • codec-http3
    • pom.xml
  • codec-http
    • pom.xml
  • codec-marshalling
    • pom.xml
  • codec-memcache
    • pom.xml
  • codec-mqtt
    • pom.xml
  • codec-native-quic
    • pom.xml
  • codec-protobuf
    • pom.xml
  • codec-redis
    • pom.xml
  • codec-smtp
    • pom.xml
  • codec-socks
    • pom.xml
  • codec-stomp
    • pom.xml
  • codec-xml
    • pom.xml
  • codec
    • pom.xml
  • common
    • pom.xml
  • docker
    • Dockerfile.al2023
    • Dockerfile.cross_compile_aarch64
    • Dockerfile.ubi9
    • README.md
    • docker-compose.al2023.yaml
    • docker-compose.centos-6.18.yaml
    • docker-compose.centos-7.111.yaml
    • docker-compose.centos-7.117.yaml
    • docker-compose.centos-7.18.yaml
    • docker-compose.centos-7.21.yaml
    • docker-compose.centos-7.24.yaml
    • docker-compose.centos-7.25.yaml
    • docker-compose.centos-7.yaml
    • docker-compose.ubi9.yaml
    • docker-compose.yaml
  • handler-proxy
    • pom.xml
  • handler-ssl-ocsp
    • pom.xml
  • handler
    • pom.xml
  • jfr-stub
    • pom.xml
    • src/main/java/jdk/jfr
      • Category.java
      • DataAmount.java
      • Description.java
      • Enabled.java
      • Event.java
      • EventSettings.java
      • EventType.java
      • FlightRecorder.java
      • Label.java
      • MemoryAddress.java
      • Name.java
      • consumer
        • RecordedEvent.java
        • RecordingFile.java
        • RecordingStream.java
        • package-info.java
      • package-info.java
  • microbench
    • pom.xml
  • pkitesting
    • pom.xml
  • pom.xml
  • resolver-dns-classes-macos
    • pom.xml
  • resolver-dns-native-macos
    • pom.xml
  • resolver-dns
    • pom.xml
  • resolver
    • pom.xml
  • transport-classes-epoll
    • pom.xml
  • transport-classes-io_uring
    • pom.xml
  • transport-classes-kqueue
    • pom.xml
  • transport-native-epoll
    • pom.xml
  • transport-native-io_uring
    • pom.xml
  • transport-native-kqueue
    • pom.xml
  • transport-native-unix-common
    • pom.xml
  • transport-sctp/src/main/java/com/sun/nio/sctp
    • AbstractNotificationHandler.java
    • Association.java
    • AssociationChangeNotification.java
    • HandlerResult.java
    • MessageInfo.java
    • Notification.java
    • NotificationHandler.java
    • PeerAddressChangeNotification.java
    • SctpChannel.java
    • SctpServerChannel.java
    • SctpSocketOption.java
    • SctpStandardSocketOptions.java
    • SendFailedNotification.java
    • ShutdownNotification.java
    • UnsupportedOperatingSystemException.java
    • package-info.java
  • transport
    • pom.xml
  • varhandle-stub
    • pom.xml
    • src/main/java/java/lang/invoke
      • MethodHandle.java
      • VarHandle.java
      • package-info.java

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/scripts/check_bom_dependencies.sh‎

Copy file name to clipboard
+28Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
#!/bin/bash
2+
# ----------------------------------------------------------------------------
3+
# Copyright 2021 The Netty Project
4+
#
5+
# The Netty Project licenses this file to you under the Apache License,
6+
# version 2.0 (the "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at:
8+
#
9+
# https://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14+
# License for the specific language governing permissions and limitations
15+
# under the License.
16+
# ----------------------------------------------------------------------------
17+
set -e
18+
19+
PARENT_TCNATIVE_VERSION=$(grep "<tcnative.version>" pom.xml | tail -n1 | sed -n 's/.*<tcnative.version>\(.*\)<\/tcnative.version>/\1/p')
20+
BOM_TCNATIVE_VERSION=$(grep "<tcnative.version>" bom/pom.xml | sed -n 's/.*<tcnative.version>\(.*\)<\/tcnative.version>/\1/p')
21+
22+
if [ "$PARENT_TCNATIVE_VERSION" != "$BOM_TCNATIVE_VERSION" ]; then
23+
echo "tcnative version missmatch, parent: $PARENT_TCNATIVE_VERSION, bom: $BOM_TCNATIVE_VERSION"
24+
exit 1
25+
fi
26+
exit 0
27+
28+
Collapse file

‎.github/workflows/ci-build-riscv64.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/ci-build-riscv64.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ name: Build project on RiscV 64
1717

1818
on:
1919
push:
20-
branches: [ "4.2"]
20+
branches: [ "5.0" ]
2121

2222
schedule:
2323
- cron: '30 1 * * *' # At 01:30 every day.
Collapse file

‎.github/workflows/ci-build.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/ci-build.yml
+11-8Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ name: Build project
1717

1818
on:
1919
push:
20-
branches: [ "4.2"]
20+
branches: [ "5.0" ]
2121

2222
schedule:
2323
- cron: '30 1 * * 1' # At 01:30 on Monday, every Monday.
@@ -26,7 +26,7 @@ on:
2626
workflow_dispatch:
2727

2828
env:
29-
MAVEN_OPTS: -Xmx6g -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryhandler.count=5 -Dmaven.wagon.httpconnectionManager.ttlSeconds=240
29+
MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryhandler.count=5 -Dmaven.wagon.httpconnectionManager.ttlSeconds=240
3030

3131
permissions:
3232
contents: read
@@ -43,12 +43,12 @@ jobs:
4343
strategy:
4444
matrix:
4545
include:
46-
- setup: linux-x86_64-java11
47-
docker-compose-build: "-f docker/docker-compose.yaml -f docker/docker-compose.centos-7.111.yaml build"
48-
docker-compose-run: "-f docker/docker-compose.yaml -f docker/docker-compose.centos-7.111.yaml run build"
49-
- setup: linux-x86_64-java11-boringssl-snapshot
50-
docker-compose-build: "-f docker/docker-compose.yaml -f docker/docker-compose.centos-7.111.yaml build"
51-
docker-compose-run: "-f docker/docker-compose.yaml -f docker/docker-compose.centos-7.111.yaml run build-boringssl-snapshot"
46+
- setup: linux-x86_64-java25
47+
docker-compose-build: "-f docker/docker-compose.yaml -f docker/docker-compose.ubi9.yaml build --build-arg java_version=25-zulu"
48+
docker-compose-run: "-f docker/docker-compose.yaml -f docker/docker-compose.ubi9.yaml run build"
49+
- setup: linux-x86_64-java25-boringssl-snapshot
50+
docker-compose-build: "-f docker/docker-compose.yaml -f docker/docker-compose.ubi9.yaml build --build-arg java_version=25-zulu"
51+
docker-compose-run: "-f docker/docker-compose.yaml -f docker/docker-compose.ubi9.yaml run build-boringssl-snapshot"
5252

5353
name: ${{ matrix.setup }}
5454
steps:
@@ -74,6 +74,9 @@ jobs:
7474
- name: Checking for test failures
7575
run: ./.github/scripts/check_build_result.sh build.output
7676

77+
- name: Checking bom dependency versions
78+
run: ./.github/scripts/check_bom_dependencies.sh
79+
7780
- name: print JVM thread dumps when cancelled
7881
uses: ./.github/actions/thread-dump-jvms
7982
if: cancelled()
Collapse file

‎.github/workflows/ci-deploy.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/ci-deploy.yml
+32-168Lines changed: 32 additions & 168 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ name: Deploy project
1717

1818
on:
1919
push:
20-
branches: [ "4.2" ]
20+
branches: [ "5.0" ]
2121

2222
schedule:
2323
- cron: '30 1 * * 1' # At 01:30 on Monday, every Monday.
@@ -37,20 +37,17 @@ concurrency:
3737
cancel-in-progress: true
3838

3939
jobs:
40-
stage-snapshot-linux:
40+
stage-snapshot:
4141
runs-on: ubuntu-latest
4242
strategy:
4343
matrix:
4444
include:
45-
- setup: linux-x86_64-java11
46-
docker-compose-build: "-f docker/docker-compose.yaml -f docker/docker-compose.centos-7.111.yaml build"
47-
docker-compose-run: "-f docker/docker-compose.yaml -f docker/docker-compose.centos-7.111.yaml run stage-snapshot"
45+
- setup: linux-x86_64-java25
46+
docker-compose-build: "-f docker/docker-compose.yaml -f docker/docker-compose.ubi9.yaml build --build-arg java_version=25-zulu"
47+
docker-compose-run: "-f docker/docker-compose.yaml -f docker/docker-compose.ubi9.yaml run stage-snapshot"
4848
- setup: linux-aarch64
49-
docker-compose-build: "-f docker/docker-compose.centos-7.cross.yaml build"
50-
docker-compose-run: "-f docker/docker-compose.centos-7.cross.yaml run cross-compile-aarch64-stage-snapshot"
51-
- setup: linux-riscv64
52-
docker-compose-build: "-f docker/docker-compose.ubuntu-20.04.cross.yaml build"
53-
docker-compose-run: "-f docker/docker-compose.ubuntu-20.04.cross.yaml run cross-compile-riscv64-stage-snapshot"
49+
docker-compose-build: "-f docker/docker-compose.centos-7.yaml build"
50+
docker-compose-run: "-f docker/docker-compose.centos-7.yaml run cross-compile-aarch64-stage-snapshot"
5451

5552
name: stage-snapshot-${{ matrix.setup }}
5653
steps:
@@ -84,124 +81,18 @@ jobs:
8481
if-no-files-found: error
8582
include-hidden-files: true
8683

87-
stage-snapshot-macos:
88-
strategy:
89-
fail-fast: false
90-
matrix:
91-
include:
92-
- setup: macos-x86_64-java11
93-
os: macos-15-intel
94-
- setup: macos-aarch64-java11
95-
os: macos-15
96-
97-
runs-on: ${{ matrix.os }}
98-
name: ${{ matrix.setup }} build
99-
100-
steps:
101-
- uses: actions/checkout@v4
102-
103-
- name: Set up JDK 11
104-
uses: actions/setup-java@v4
105-
with:
106-
distribution: 'zulu'
107-
java-version: '11'
108-
109-
# Cache .m2/repository
110-
# Caching of maven dependencies
111-
- uses: actions/cache@v4
112-
continue-on-error: true
113-
with:
114-
path: ~/.m2/repository
115-
key: cache-maven-${{ hashFiles('**/pom.xml') }}
116-
restore-keys: |
117-
cache-maven-${{ hashFiles('**/pom.xml') }}
118-
cache-maven-
119-
120-
- name: Install tools via brew
121-
run: brew bundle
122-
123-
- name: Create local staging directory
124-
run: mkdir -p ~/local-staging
125-
126-
- name: Stage snapshots to local staging directory
127-
run: ./mvnw -B -ntp clean package org.sonatype.plugins:nexus-staging-maven-plugin:deploy -DskipRemoteStaging=true -DaltStagingDirectory=$HOME/local-staging -DskipTests=true
128-
129-
- name: Upload local staging directory
130-
uses: actions/upload-artifact@v4
131-
with:
132-
name: ${{ matrix.setup }}-local-staging
133-
path: ~/local-staging
134-
if-no-files-found: error
135-
include-hidden-files: true
136-
137-
stage-snapshot-windows-x86_64:
138-
runs-on: windows-2022
139-
name: stage-snapshot-windows-x86_64
140-
env:
141-
# Let's limit the amount of ram that is used to unpack rustup as we saw
142-
# failures sometimes due the fact that not enough memory could be reserved.
143-
RUSTUP_UNPACK_RAM: 134217728 # Use 128 MiB
144-
steps:
145-
- uses: actions/checkout@v4
146-
147-
- name: Set up JDK 11
148-
uses: actions/setup-java@v4
149-
with:
150-
distribution: 'zulu'
151-
java-version: 11
152-
153-
# Cache .m2/repository
154-
- name: Cache local Maven repository
155-
uses: actions/cache@v4
156-
continue-on-error: true
157-
with:
158-
path: ~/.m2/repository
159-
key: cache-windows-maven-${{ hashFiles('**/pom.xml') }}
160-
restore-keys: |
161-
cache-windows-maven-${{ hashFiles('**/pom.xml') }}
162-
cache-windows-maven-
163-
164-
- name: Install stable rust toolchain
165-
uses: dtolnay/rust-toolchain@stable
166-
with:
167-
targets: x86_64-pc-windows-msvc
168-
169-
- name: Add msbuild to PATH
170-
uses: microsoft/setup-msbuild@v2
171-
172-
- name: Configuring Developer Command Prompt
173-
uses: ilammy/msvc-dev-cmd@v1
174-
with:
175-
arch: x86_amd64
176-
177-
- name: Install tools
178-
uses: crazy-max/ghaction-chocolatey@v3
179-
with:
180-
args: install ninja nasm
181-
182-
- name: Stage snapshots to local staging directory
183-
run: ./mvnw.cmd -B -ntp --file pom.xml clean package org.sonatype.plugins:nexus-staging-maven-plugin:deploy -DskipRemoteStaging=true -DaltStagingDirectory=/local-staging -DskipTests=true
184-
185-
- name: Upload local staging directory
186-
uses: actions/upload-artifact@v4
187-
with:
188-
name: windows-x86_64-local-staging
189-
path: /local-staging
190-
if-no-files-found: error
191-
include-hidden-files: true
192-
19384
deploy-staged-snapshots:
19485
runs-on: ubuntu-latest
19586
# Wait until we have staged everything
196-
needs: [ stage-snapshot-linux, stage-snapshot-windows-x86_64, stage-snapshot-macos ]
87+
needs: stage-snapshot
19788
steps:
19889
- uses: actions/checkout@v4
19990

200-
- name: Set up JDK 11
91+
- name: Set up JDK 25
20192
uses: actions/setup-java@v4
20293
with:
20394
distribution: 'zulu'
204-
java-version: '11'
95+
java-version: '25'
20596

20697
# Cache .m2/repository
20798
- name: Cache local Maven repository
@@ -214,68 +105,41 @@ jobs:
214105
cache-maven-${{ hashFiles('**/pom.xml') }}
215106
cache-maven-
216107
217-
- uses: s4u/[email protected]
218-
with:
219-
servers: |
220-
[{
221-
"id": "central-portal-snapshots",
222-
"username": "${{ secrets.MAVEN_CENTRAL_USERNAME }}",
223-
"password": "${{ secrets.MAVEN_CENTRAL_PASSWORD }}"
224-
}]
108+
# Setup some env to re-use later.
109+
- name: Prepare enviroment variables
110+
run: |
111+
echo "LOCAL_STAGING_DIR=$HOME/local-staging" >> $GITHUB_ENV
225112
226113
# Hardcode the staging artifacts that need to be downloaded.
227114
# These must match the matrix setups. There is currently no way to pull this out of the config.
228-
- name: Download windows_x86_64 staging directory
229-
uses: actions/download-artifact@v4
230-
with:
231-
name: windows-x86_64-local-staging
232-
path: ~/windows-x86_64-local-staging
233-
234-
- name: Download macos-aarch64-java11 staging directory
235-
uses: actions/download-artifact@v4
236-
with:
237-
name: macos-aarch64-java11-local-staging
238-
path: ~/macos-aarch64-java11-local-staging
239-
240-
- name: Download macos-x86_64-java11 staging directory
241-
uses: actions/download-artifact@v4
242-
with:
243-
name: macos-x86_64-java11-local-staging
244-
path: ~/macos-x86_64-java11-local-staging
245-
246115
- name: Download linux-aarch64 staging directory
247116
uses: actions/download-artifact@v4
248117
with:
249118
name: linux-aarch64-local-staging
250119
path: ~/linux-aarch64-local-staging
251120

252-
- name: Download linux-riscv64 staging directory
121+
- name: Download linux-x86_64-java25 staging directory
253122
uses: actions/download-artifact@v4
254123
with:
255-
name: linux-riscv64-local-staging
256-
path: ~/linux-riscv64-local-staging
124+
name: linux-x86_64-java25-local-staging
125+
path: ~/linux-x86_64-java25-local-staging
257126

258-
- name: Download linux-x86_64-java11 staging directory
259-
uses: actions/download-artifact@v4
260-
with:
261-
name: linux-x86_64-java11-local-staging
262-
path: ~/linux-x86_64-java11-local-staging
263-
264-
- name: Copy previous build artifacts to local maven repository
265-
run: bash ./.github/scripts/local_staging_install_snapshot.sh ~/.m2/repository ~/windows-x86_64-local-staging ~/macos-aarch64-java11-local-staging ~/macos-x86_64-java11-local-staging ~/linux-aarch64-local-staging ~/linux-riscv64-local-staging ~/linux-x86_64-java11-local-staging
266-
267-
- name: Generate netty-codec-http3 and deploy to local staging.
268-
run: |
269-
mkdir -p ~/codec-http3-local-staging
270-
./mvnw -B --file pom.xml -Pnative-dependencies -pl all clean package org.sonatype.plugins:nexus-staging-maven-plugin:deploy -DskipRemoteStaging=true -DaltStagingDirectory=$HOME/codec-http3-local-staging -DskipTests=true
271-
272-
- name: Generate netty-all and deploy to local staging.
127+
- name: Merge staging repositories
273128
run: |
274-
mkdir -p ~/all-local-staging
275-
./mvnw -B --file pom.xml -Pnative-dependencies -pl all clean package org.sonatype.plugins:nexus-staging-maven-plugin:deploy -DskipRemoteStaging=true -DaltStagingDirectory=$HOME/all-local-staging -DskipTests=true
129+
mkdir -p ~/local-staging/deferred
130+
cat ~/linux-aarch64-local-staging/deferred/.index >> ~/local-staging/deferred/.index
131+
cp -r ~/linux-aarch64-local-staging/deferred/* ~/local-staging/deferred/
132+
cat ~/linux-x86_64-java25-local-staging/deferred/.index >> ~/local-staging/deferred/.index
133+
cp -r ~/linux-x86_64-java25-local-staging/deferred/* ~/local-staging/deferred/
276134
277-
- name: Merge staging repositories
278-
run: bash ./.github/scripts/local_staging_merge_snapshot.sh ~/local-staging ~/windows-x86_64-local-staging ~/macos-aarch64-java11-local-staging ~/macos-x86_64-java11-local-staging ~/linux-aarch64-local-staging ~/linux-riscv64-local-staging ~/linux-x86_64-java11-local-staging ~/codec-http3-local-staging ~/all-local-staging
135+
- uses: s4u/[email protected]
136+
with:
137+
servers: |
138+
[{
139+
"id": "sonatype-nexus-snapshots",
140+
"username": "${{ secrets.SONATYPE_USERNAME }}",
141+
"password": "${{ secrets.SONATYPE_PASSWORD }}"
142+
}]
279143
280144
- name: Deploy local staged artifacts
281-
run: ./mvnw -B -ntp --file pom.xml org.sonatype.plugins:nexus-staging-maven-plugin:deploy-staged -DaltStagingDirectory=$HOME/local-staging -DserverId=central-portal-snapshots
145+
run: ./mvnw -B --file pom.xml org.sonatype.plugins:nexus-staging-maven-plugin:deploy-staged -DaltStagingDirectory=$LOCAL_STAGING_DIR

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.