Skip to content

Commit ca04904

Browse files
committed
Migrate to Java 21
1 parent e44a865 commit ca04904

15 files changed

+40
-33
lines changed

.github/workflows/build-timestamped-master.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ jobs:
1414
call_workflow:
1515
name: Run Build Workflow
1616
if: ${{ github.repository_owner == 'ballerina-platform' }}
17-
uses: ballerina-platform/ballerina-library/.github/workflows/build-timestamp-master-template.yml@main
17+
uses: ballerina-platform/ballerina-library/.github/workflows/build-timestamp-master-template.yml@java21
1818
secrets: inherit

.github/workflows/build-with-bal-test-graalvm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
call_stdlib_workflow:
3131
name: Run StdLib Workflow
3232
if: ${{ github.event_name != 'schedule' || (github.event_name == 'schedule' && github.repository_owner == 'ballerina-platform') }}
33-
uses: ballerina-platform/ballerina-library/.github/workflows/build-with-bal-test-graalvm-template.yml@main
33+
uses: ballerina-platform/ballerina-library/.github/workflows/build-with-bal-test-graalvm-template.yml@java21
3434
with:
3535
lang_tag: ${{ inputs.lang_tag }}
3636
lang_version: ${{ inputs.lang_version }}

.github/workflows/central-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
call_workflow:
1616
name: Run Central Publish Workflow
1717
if: ${{ github.repository_owner == 'ballerina-platform' }}
18-
uses: ballerina-platform/ballerina-library/.github/workflows/central-publish-template.yml@main
18+
uses: ballerina-platform/ballerina-library/.github/workflows/central-publish-template.yml@java21
1919
secrets: inherit
2020
with:
2121
environment: ${{ github.event.inputs.environment }}

.github/workflows/process-load-test-result.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
jobs:
88
call_stdlib_process_load_test_results_workflow:
99
name: Run StdLib Process Load Test Results Workflow
10-
uses: ballerina-platform/ballerina-library/.github/workflows/process-load-test-results-template.yml@main
10+
uses: ballerina-platform/ballerina-library/.github/workflows/process-load-test-results-template.yml@java21
1111
with:
1212
results: ${{ toJson(github.event.client_payload.results) }}
1313
secrets:

.github/workflows/publish-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
call_workflow:
1010
name: Run Release Workflow
1111
if: ${{ github.repository_owner == 'ballerina-platform' }}
12-
uses: ballerina-platform/ballerina-library/.github/workflows/release-package-template.yml@main
12+
uses: ballerina-platform/ballerina-library/.github/workflows/release-package-template.yml@java21
1313
secrets: inherit
1414
with:
1515
package-name: oauth2

.github/workflows/pull-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
call_workflow:
1111
name: Run PR Build Workflow
1212
if: ${{ github.repository_owner == 'ballerina-platform' }}
13-
uses: ballerina-platform/ballerina-library/.github/workflows/pull-request-build-template.yml@main
13+
uses: ballerina-platform/ballerina-library/.github/workflows/pull-request-build-template.yml@java21
1414
with:
1515
additional-windows-test-flags: '-x test'
1616
secrets: inherit

.github/workflows/trigger-load-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
call_stdlib_trigger_load_test_workflow:
1919
name: Run StdLib Load Test Workflow
2020
if: ${{ github.event_name != 'schedule' || (github.event_name == 'schedule' && github.repository_owner == 'ballerina-platform') }}
21-
uses: ballerina-platform/ballerina-library/.github/workflows/trigger-load-tests-template.yml@main
21+
uses: ballerina-platform/ballerina-library/.github/workflows/trigger-load-tests-template.yml@java21
2222
with:
2323
repo_name: 'module-ballerina-oauth2'
2424
runtime_artifacts_url: 'https://api.github.com/repos/ballerina-platform/module-ballerina-oauth2/actions/artifacts'

.github/workflows/trivy-scan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ jobs:
99
call_workflow:
1010
name: Run Trivy Scan Workflow
1111
if: ${{ github.repository_owner == 'ballerina-platform' }}
12-
uses: ballerina-platform/ballerina-library/.github/workflows/trivy-scan-template.yml@main
12+
uses: ballerina-platform/ballerina-library/.github/workflows/trivy-scan-template.yml@java21
1313
secrets: inherit

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ This repository only contains the source code for the module.
3333

3434
### Set up the prerequisites
3535

36-
1. Download and install Java SE Development Kit (JDK) version 17 (from one of the following locations).
36+
1. Download and install Java SE Development Kit (JDK) version 21 (from one of the following locations).
3737

3838
* [Oracle](https://www.oracle.com/java/technologies/downloads/)
3939

ballerina/Ballerina.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ keywords = ["security", "authorization", "introspection"]
77
repository = "https://github.com/ballerina-platform/module-ballerina-oauth2"
88
icon = "icon.png"
99
license = ["Apache-2.0"]
10-
distribution = "2201.10.0"
10+
distribution = "2201.10.0-20241007-143200-6b69ca80"
1111

12-
[platform.java17]
12+
[platform.java21]
1313
graalvmCompatible = true
1414

15-
[[platform.java17.dependency]]
15+
[[platform.java21.dependency]]
1616
groupId = "io.ballerina.stdlib"
1717
artifactId = "oauth2-native"
1818
version = "2.12.1"

0 commit comments

Comments
 (0)