Skip to content

Commit 7a32b9e

Browse files
Merge pull request #2087 from ravinperera00/java21
Migrate to Java 21
2 parents f3680aa + 9ae9b0a commit 7a32b9e

File tree

46 files changed

+603
-509
lines changed

Some content is hidden

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

46 files changed

+603
-509
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ jobs:
1515
call_workflow:
1616
name: Run Build Workflow
1717
if: ${{ github.repository_owner == 'ballerina-platform' }}
18-
uses: ballerina-platform/ballerina-library/.github/workflows/build-timestamp-master-template.yml@main
18+
uses: ballerina-platform/ballerina-library/.github/workflows/build-timestamp-master-template.yml@java21
1919
secrets: inherit

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

+1-1
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

+1-1
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

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

.github/workflows/publish-release.yml

+1-1
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: graphql

.github/workflows/pull-request.yml

+1-1
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
secrets: inherit
1515
with:
1616
additional-ubuntu-test-flags: "-Pdisable=subscriptions"

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
call_stdlib_trigger_load_test_workflow:
2323
name: Run StdLib Load Test Workflow
2424
if: ${{ github.event_name != 'schedule' || (github.event_name == 'schedule' && github.repository_owner == 'ballerina-platform') }}
25-
uses: ballerina-platform/ballerina-library/.github/workflows/trigger-load-tests-template.yml@main
25+
uses: ballerina-platform/ballerina-library/.github/workflows/trigger-load-tests-template.yml@java21
2626
with:
2727
repo_name: 'module-ballerina-graphql'
2828
runtime_artifacts_url: 'https://api.github.com/repos/ballerina-platform/module-ballerina-graphql/actions/artifacts'

.github/workflows/trivy-scan.yml

+1-1
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

+1-1
Original file line numberDiff line numberDiff line change
@@ -850,7 +850,7 @@ This repository only contains the source code for the module.
850850

851851
### Prerequisites
852852

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

855855
* [Oracle](https://www.oracle.com/java/technologies/downloads/)
856856
* [OpenJDK](https://adoptium.net/)

ballerina-tests/graphql-advanced-test-suite/Dependencies.toml

+21-29
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55

66
[ballerina]
77
dependencies-toml-version = "2"
8-
distribution-version = "2201.10.0"
8+
distribution-version = "2201.10.0-20241025-103700-5c9e6a27"
99

1010
[[package]]
1111
org = "ballerina"
1212
name = "auth"
13-
version = "2.12.0"
13+
version = "2.12.1"
1414
dependencies = [
1515
{org = "ballerina", name = "crypto"},
1616
{org = "ballerina", name = "jballerina.java"},
@@ -22,18 +22,17 @@ dependencies = [
2222
[[package]]
2323
org = "ballerina"
2424
name = "cache"
25-
version = "3.8.0"
25+
version = "3.8.1"
2626
dependencies = [
2727
{org = "ballerina", name = "constraint"},
2828
{org = "ballerina", name = "jballerina.java"},
29-
{org = "ballerina", name = "task"},
30-
{org = "ballerina", name = "time"}
29+
{org = "ballerina", name = "task"}
3130
]
3231

3332
[[package]]
3433
org = "ballerina"
3534
name = "constraint"
36-
version = "1.5.0"
35+
version = "1.5.1"
3736
dependencies = [
3837
{org = "ballerina", name = "jballerina.java"}
3938
]
@@ -44,7 +43,7 @@ modules = [
4443
[[package]]
4544
org = "ballerina"
4645
name = "crypto"
47-
version = "2.7.2"
46+
version = "2.7.3"
4847
dependencies = [
4948
{org = "ballerina", name = "jballerina.java"},
5049
{org = "ballerina", name = "time"}
@@ -53,7 +52,7 @@ dependencies = [
5352
[[package]]
5453
org = "ballerina"
5554
name = "file"
56-
version = "1.10.0"
55+
version = "1.10.1"
5756
dependencies = [
5857
{org = "ballerina", name = "io"},
5958
{org = "ballerina", name = "jballerina.java"},
@@ -101,7 +100,6 @@ dependencies = [
101100
{org = "ballerina", name = "constraint"},
102101
{org = "ballerina", name = "graphql"},
103102
{org = "ballerina", name = "graphql_test_common"},
104-
{org = "ballerina", name = "http"},
105103
{org = "ballerina", name = "io"},
106104
{org = "ballerina", name = "lang.runtime"},
107105
{org = "ballerina", name = "mime"},
@@ -131,7 +129,7 @@ modules = [
131129
[[package]]
132130
org = "ballerina"
133131
name = "http"
134-
version = "2.12.1"
132+
version = "2.13.0"
135133
dependencies = [
136134
{org = "ballerina", name = "auth"},
137135
{org = "ballerina", name = "cache"},
@@ -155,15 +153,11 @@ dependencies = [
155153
{org = "ballerina", name = "time"},
156154
{org = "ballerina", name = "url"}
157155
]
158-
modules = [
159-
{org = "ballerina", packageName = "http", moduleName = "http"},
160-
{org = "ballerina", packageName = "http", moduleName = "http.httpscerr"}
161-
]
162156

163157
[[package]]
164158
org = "ballerina"
165159
name = "io"
166-
version = "1.6.1"
160+
version = "1.6.2"
167161
dependencies = [
168162
{org = "ballerina", name = "jballerina.java"},
169163
{org = "ballerina", name = "lang.value"}
@@ -180,16 +174,15 @@ version = "0.0.0"
180174
[[package]]
181175
org = "ballerina"
182176
name = "jwt"
183-
version = "2.13.0"
177+
version = "2.13.1"
184178
dependencies = [
185179
{org = "ballerina", name = "cache"},
186180
{org = "ballerina", name = "crypto"},
187181
{org = "ballerina", name = "io"},
188182
{org = "ballerina", name = "jballerina.java"},
189183
{org = "ballerina", name = "lang.int"},
190184
{org = "ballerina", name = "lang.string"},
191-
{org = "ballerina", name = "log"},
192-
{org = "ballerina", name = "time"}
185+
{org = "ballerina", name = "log"}
193186
]
194187

195188
[[package]]
@@ -281,7 +274,7 @@ dependencies = [
281274
[[package]]
282275
org = "ballerina"
283276
name = "log"
284-
version = "2.10.0"
277+
version = "2.10.1"
285278
dependencies = [
286279
{org = "ballerina", name = "io"},
287280
{org = "ballerina", name = "jballerina.java"},
@@ -292,7 +285,7 @@ dependencies = [
292285
[[package]]
293286
org = "ballerina"
294287
name = "mime"
295-
version = "2.10.0"
288+
version = "2.10.1"
296289
dependencies = [
297290
{org = "ballerina", name = "io"},
298291
{org = "ballerina", name = "jballerina.java"},
@@ -306,28 +299,27 @@ modules = [
306299
[[package]]
307300
org = "ballerina"
308301
name = "oauth2"
309-
version = "2.12.0"
302+
version = "2.12.1"
310303
dependencies = [
311304
{org = "ballerina", name = "cache"},
312305
{org = "ballerina", name = "crypto"},
313306
{org = "ballerina", name = "jballerina.java"},
314307
{org = "ballerina", name = "log"},
315-
{org = "ballerina", name = "time"},
316308
{org = "ballerina", name = "url"}
317309
]
318310

319311
[[package]]
320312
org = "ballerina"
321313
name = "observe"
322-
version = "1.3.0"
314+
version = "1.3.1"
323315
dependencies = [
324316
{org = "ballerina", name = "jballerina.java"}
325317
]
326318

327319
[[package]]
328320
org = "ballerina"
329321
name = "os"
330-
version = "1.8.0"
322+
version = "1.8.1"
331323
dependencies = [
332324
{org = "ballerina", name = "io"},
333325
{org = "ballerina", name = "jballerina.java"}
@@ -336,7 +328,7 @@ dependencies = [
336328
[[package]]
337329
org = "ballerina"
338330
name = "task"
339-
version = "2.5.0"
331+
version = "2.5.1"
340332
dependencies = [
341333
{org = "ballerina", name = "jballerina.java"},
342334
{org = "ballerina", name = "time"}
@@ -359,23 +351,23 @@ modules = [
359351
[[package]]
360352
org = "ballerina"
361353
name = "time"
362-
version = "2.5.0"
354+
version = "2.5.1"
363355
dependencies = [
364356
{org = "ballerina", name = "jballerina.java"}
365357
]
366358

367359
[[package]]
368360
org = "ballerina"
369361
name = "url"
370-
version = "2.4.0"
362+
version = "2.4.1"
371363
dependencies = [
372364
{org = "ballerina", name = "jballerina.java"}
373365
]
374366

375367
[[package]]
376368
org = "ballerina"
377369
name = "uuid"
378-
version = "1.8.0"
370+
version = "1.8.1"
379371
dependencies = [
380372
{org = "ballerina", name = "crypto"},
381373
{org = "ballerina", name = "jballerina.java"},
@@ -386,7 +378,7 @@ dependencies = [
386378
[[package]]
387379
org = "ballerina"
388380
name = "websocket"
389-
version = "2.12.0"
381+
version = "2.12.1"
390382
dependencies = [
391383
{org = "ballerina", name = "auth"},
392384
{org = "ballerina", name = "constraint"},

0 commit comments

Comments
 (0)