Skip to content

JDK compat page: Scala 3.3.0, JDK 21 #2829

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 1, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 14 additions & 11 deletions _overviews/jdk-compatibility/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ Sometimes new JVM and JDK (Java Development Kit) versions require us to update S

| JDK version | Minimum Scala versions |
|:-----------:|:-------------------------------------------------------------|
| 20 | 3.3.0 (soon), 2.13.11 (soon), 2.12.18 (soon) |
| 21 (ea) | 3.3.1 (soon), 2.13.11 (soon), 2.12.18 (soon) |
| 20 | 3.3.0, 2.13.11 (soon), 2.12.18 (soon) |
| 19 | 3.2.0, 2.13.9, 2.12.16 |
| 18 | 3.1.3, 2.13.7, 2.12.15 |
| 17 (LTS) | 3.0.0, 2.13.6, 2.12.15 |
Expand Down Expand Up @@ -96,23 +97,25 @@ Support for JDK 19 was included in Scala 2.13.9 and 2.12.16.

JDK 20, a non-LTS release, came out in March 2023.

Support for JDK 20 is included in Scala 3.3.0.

Support for JDK 20 has already been merged and is available in
[nightly builds](https://stackoverflow.com/questions/40622878/how-do-i-tell-sbt-or-scala-cli-to-use-a-nightly-build-of-scala-2-12-or-2-13)
of Scala 2.12, 2.13, and 3.
of Scala 2.12 and 2.13.

The support will be included in forthcoming Scala releases: 2.12.18,
2.13.11, and 3.3.0. We hope to release these in April 2023, or not
long after.
The support will be included in forthcoming Scala releases 2.12.18
and 2.13.11. We expect to release these in June 2023.

<!--
## JDK 21 compatibility notes

Early access builds of JDK 21, a non-LTS release, are already available.
Early access builds of JDK 21 are already available. JDK 21 will
be an LTS release.

Initial support for JDK 20 has been merged and is already available in
nightly builds of Scala 2.12, 2.13, and 3. (The support will be
included in forthcoming Scala releases: 2.12.19, 2.13.12, and 3.3.1.)
-->
Initial support for JDK 21 has been merged and is already available in
nightly builds of Scala 2.12, 2.13, and 3.

The support will be included in forthcoming Scala releases: 2.12.18,
2.13.11, and 3.3.1.

## GraalVM Native Image compatibility notes

Expand Down