Skip to content

JDK 22 and 23 #3005

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 5 commits into from
Apr 9, 2024
Merged
Changes from 2 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
19 changes: 15 additions & 4 deletions _overviews/jdk-compatibility/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ Minimum Scala versions:

| JDK | 3 | 2.13 | 2.12 | 2.11 |
|:-----------:|:--------:|:---------:|:---------:|:----------:|
| 22 (ea) | 3.3.4* | 2.13.12 | 2.12.19 | |
| 23 (ea) | 3.3.5* | 2.13.14* | 2.12.20* | |
| 22 | 3.3.4* | 2.13.12 | 2.12.19 | |
| 21 (LTS) | 3.3.1 | 2.13.11 | 2.12.18 | |
| 17 (LTS) | 3.0.0 | 2.13.6 | 2.12.15 | |
| 11 (LTS) | 3.0.0 | 2.13.0 | 2.12.4 | 2.11.12 |
Expand Down Expand Up @@ -111,14 +112,24 @@ For possible Scala issues, see the [jdk11](https://github.com/scala/bug/labels/j

## JDK 22 compatibility notes

Early access builds of JDK 22 are available. JDK 22 will be non-LTS.
JDK 22 is non-LTS.

Initial support for JDK 22 has been merged and is now available in
Scala 2.13.12 and 2.12.19.
Scala 2.13.12+ and 2.12.19+ support JDK 22.

We are working on adding JDK 22 support to the 3.3.x release
series. (Support may be available in nightly builds.)

For possible Scala issues, see the [jdk11](https://github.com/scala/bug/labels/jdk11), [jdk17](https://github.com/scala/bug/labels/jdk17), and [jdk21](https://github.com/scala/bug/labels/jdk21) labels in the Scala 2 bug tracker.

## JDK 23 compatibility notes

Early access builds of JDK 23 are available. JDK 23 will be non-LTS.

We are working on adding JDK 22 support to Scala 3 and Scala 2.
(Support may be available in nightly builds.)

For possible Scala issues, see the [jdk11](https://github.com/scala/bug/labels/jdk11), [jdk17](https://github.com/scala/bug/labels/jdk17), and [jdk21](https://github.com/scala/bug/labels/jdk21) labels in the Scala 2 bug tracker.

## GraalVM Native Image compatibility notes

There are several records of successfully using Scala with [GraalVM](https://www.graalvm.org) Native Image (i.e., ahead of time compiler) to produce directly executable binaries.
Expand Down