Skip to content

Commit 85a383e

Browse files
committed
chore: update to jdk26
1 parent 9c2ffe3 commit 85a383e

File tree

6 files changed

+27
-22
lines changed

6 files changed

+27
-22
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ and [Compose Web (wasm)][Compose-Multiplatform] applications.
1616

1717
```bash
1818
$ curl -s "https://get.sdkman.io" | bash
19-
$ sdk i java 25.ea-open
19+
$ sdk i java 26.ea-open
2020
```
2121

2222
### Build & Run
@@ -95,7 +95,7 @@ The next version will be based on the semantic version scope (`major`, `minor`,
9595
--publish 8081:8081 \
9696
--name kotlin-mpp-playground \
9797
--mount type=bind,source=$(pwd),destination=/app,readonly \
98-
openjdk:25-slim /bin/bash -c "printenv && backend/jvm/build/libs/jvm"
98+
openjdk:26-slim /bin/bash -c "printenv && backend/jvm/build/libs/jvm"
9999

100100
# Build a container image and run
101101
$ ./gradlew :backend:jvm:jibDockerBuild --no-configuration-cache
@@ -245,7 +245,7 @@ The next version will be based on the semantic version scope (`major`, `minor`,
245245
--name kotlin-native-build \
246246
--mount type=bind,source=$(pwd),destination=/app \
247247
--mount type=bind,source=${HOME}/.gradle,destination=/root/.gradle \
248-
openjdk:25-slim /bin/bash
248+
openjdk:26-slim /bin/bash
249249
# apt update && apt install libtree tree
250250
# ./gradlew --no-daemon :backend:native:build
251251
# backend/native/build/bin/linuxX64/releaseExecutable/native.kexe
@@ -359,9 +359,9 @@ is [automatically with Gradle][gradle_verification].
359359

360360
<!-- Badges -->
361361

362-
[java_url]: https://jdk.java.net/25/
362+
[java_url]: https://jdk.java.net/26/
363363

364-
[java_img]: https://img.shields.io/badge/OpenJDK-25-e76f00?logo=openjdk&logoColor=e76f00
364+
[java_img]: https://img.shields.io/badge/OpenJDK-26-e76f00?logo=openjdk&logoColor=e76f00
365365

366366
[kt_url]: https://github.com/JetBrains/kotlin/releases/latest
367367

gradle/libs.versions.toml

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[versions]
2-
java = "25"
2+
java = "26"
33
kotlin = "2.2.0-RC2"
4-
kotlin-ksp = "2.2.0-RC2-2.0.1"
4+
kotlin-ksp = "2.2.0-RC2-2.0.2"
55
kotlin-jvmtarget = "21"
66
kotlin-dsl-jvmtarget = "21"
77
kotlin-api-version = "2.2"
@@ -20,7 +20,7 @@ org-name = "suresh.dev"
2020
org-url = "https://suresh.dev"
2121

2222
# Dependency Versions
23-
bc-plugins = "2.3.0"
23+
bc-plugins = "2.4.0"
2424
kotlinx-kover = "0.9.1"
2525
kotlinx-bcv = "0.17.0"
2626
kotlin-dokka = "2.0.0"
@@ -39,16 +39,16 @@ kotlinx-benchmark = "0.4.14"
3939
kotlinx-fuzz = "0.2.2"
4040
kotlinx-metadata = "0.9.0"
4141
kotlinx-reflect-lite = "1.2.0-RC"
42-
kotlin-wrappers = "2025.6.3"
42+
kotlin-wrappers = "2025.6.4"
4343
kotlin-redacted = "1.14.0-alpha01"
4444
kotlin-serviceloader = "0.0.16"
4545
kotlinx-multik = "0.2.3"
4646
kotlinx-dataframe = "1.0.0-Beta2"
4747
kotlinx-kandy = "0.8.0"
4848
kotlin-statistics = "0.4.0-RC1"
4949
gradle-kotlin-dsl = "6.1.2"
50-
exoquery-plugin = "2.1.20-1.3.2.PL"
51-
exoquery-sql = "1.3.2.PL-1.3.2"
50+
exoquery-plugin = "2.1.20-1.3.3.PL"
51+
exoquery-sql = "1.3.3.PL-1.3.3"
5252
exposed = "1.0.0-beta-2"
5353
postgresql = "42.7.6"
5454
embedded-postgres = "2.1.0"
@@ -58,7 +58,7 @@ kopy = "0.15.0+2.1.20"
5858
poko = "0.18.7"
5959
mappie = "2.1.21-1.3.0"
6060
akkurate = "0.11.0"
61-
kaml = "0.80.1"
61+
kaml = "0.81.0"
6262
snakeyaml-engine-kmp = "3.1.1"
6363
konsist = "0.17.3"
6464
decoroutinator = "2.5.4"
@@ -71,7 +71,7 @@ otel = "1.51.0"
7171
otel-alpha = "1.51.0-alpha"
7272
otel-instr = "2.16.0"
7373
otel-instr-alpha = "2.16.0-alpha"
74-
otel-semconv = "1.32.0"
74+
otel-semconv = "1.34.0"
7575
otel-contrib = "1.46.0-alpha"
7676
otel-kotlin = "0.1.1"
7777
okio = "3.12.0"
@@ -89,13 +89,13 @@ intellij-markdown = "0.7.3"
8989
jgit = "7.3.0.202506031305-r"
9090
jte = "3.2.1"
9191
sshj = "0.40.0"
92-
jsch = "2.27.0"
92+
jsch = "2.27.2"
9393
pty4j = "0.13.8"
9494
oshi = "6.8.2"
9595
junit = "5.13.1"
9696
koin = "4.1.0"
9797
koin-annotations = "2.0.1-RC1"
98-
metro = "0.4.0-2.2.0-RC2-alpha06"
98+
metro = "0.4.0-2.2.0-RC2-alpha07"
9999
kotest = "6.0.0.M4"
100100
mockk = "1.14.2"
101101
mokkery = "2.8.0"
@@ -110,7 +110,7 @@ jmh = "1.37"
110110
mrjar = "0.1.1"
111111
ktfmt = "0.54"
112112
google-javaformat = "1.27.0"
113-
palantir-javaformat = "2.67.0"
113+
palantir-javaformat = "2.68.0"
114114
google-auto-service = "1.1.1"
115115
google-tink = "1.17.0"
116116
graalvm = "24.2.1"
@@ -146,7 +146,7 @@ webjars-xterm = "5.3.0"
146146
arrow-suspendapp = "2.1.2"
147147
hikariCP = "6.3.0"
148148
h2 = "2.3.232"
149-
micrometer = "1.15.0"
149+
micrometer = "1.15.1"
150150
swagger-ui = "5.17.14"
151151
hoplite = "3.0.0.RC1"
152152
config4k = "0.7.0"
@@ -168,7 +168,7 @@ async-profiler = "4.0"
168168
ap-loader-all = "4.0-10"
169169
openjdk-jmc = "9.1.0"
170170
airlift-aircompressor = "2.0.2"
171-
airlift-security = "337"
171+
airlift-security = "338"
172172
directory-keystore = "1.1.1"
173173
maven-mima = "3.0.0-alpha-3"
174174
maven-archeologist = "0.0.10"
@@ -679,6 +679,11 @@ ldaptive = { module = "org.ldaptive:ldaptive"
679679
maven-plugin-api = { module = "org.apache.maven:maven-plugin-api" , version.ref = "maven-plugin-api" }
680680
maven-plugin-annotations = { module = "rg.apache.maven.plugin-tools:maven-plugin-annotations" , version.ref = "maven-plugin-annotations" }
681681

682+
# Formatting
683+
google-javaformat = { module = "com.google.googlejavaformat:google-java-format" , version.ref = "google-javaformat" }
684+
palantir-javaformat = { module = "com.palantir.javaformat:palantir-java-format" , version.ref = "palantir-javaformat" }
685+
686+
682687
[bundles]
683688
ajalt = ["ajalt-colormath",
684689
"ajalt-mordant",

meta/scripts/JavaSingleFile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env java --enable-preview --source 25
1+
#!/usr/bin/env java --enable-preview --source 26
22

33
void main() {
44
println("Hello Java " + System.getProperty("java.version"));

meta/scripts/jrtserver

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env java --enable-preview --source 25
1+
#!/usr/bin/env java --enable-preview --source 26
22

33
import com.sun.net.httpserver.SimpleFileServer;
44
import com.sun.net.httpserver.SimpleFileServer.OutputLevel;

meta/scripts/openjdk-ea.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# set -u won't work for sdkman
44
set -e
55

6-
jdk_version=${1:-25}
6+
jdk_version=${1:-26}
77

88
# Find OS type
99
case "$OSTYPE" in

shared/src/jvmMain/java/dev/suresh/DOP.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ record Lang(String name, int year) implements Serializable {
111111
serialFile.deleteOnExit();
112112

113113
try (var oos = new ObjectOutputStream(new FileOutputStream(serialFile))) {
114-
List<Record> recs = List.of(new Lang("Java", 25), new Lang("Kotlin", 10), (Record) Result.success(100));
114+
List<Record> recs = List.of(new Lang("Java", 26), new Lang("Kotlin", 10), (Record) Result.success(100));
115115

116116
for (Record rec : recs) {
117117
out.printf("Serializing record: %s%n", rec);

0 commit comments

Comments
 (0)