Skip to content

Commit

Permalink
JDK compat page: add JDK 22 (ea)
Browse files Browse the repository at this point in the history
  • Loading branch information
SethTisue committed Oct 17, 2023
1 parent cb48e9a commit 199cd05
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion _overviews/jdk-compatibility/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Sometimes new JVM and JDK (Java Development Kit) versions require us to update S

| JDK version | Minimum Scala versions |
|:-----------:|:-------------------------------------------------------------|
| 22 (ea) | 3.3.2? (forthcoming), 2.13.12 (forthcoming), 2.12.19 (forthcoming) |
| 21 (LTS) | 3.3.1, 2.13.11, 2.12.18 |
| 20 | 3.3.0, 2.13.11, 2.12.18 |
| 19 | 3.2.0, 2.13.9, 2.12.16 |
Expand All @@ -22,7 +23,7 @@ Sometimes new JVM and JDK (Java Development Kit) versions require us to update S

**Using latest patch version of Scala is always recommended**

Even when a version combination isn't listed as supported, most features may still work.
Even when a version combination isn't listed as supported, most features might still work.

In general, Scala works on JDK 11+, including GraalVM, but may not take special advantage of features that were added after JDK 8. See [below](#jdk-11-compatibility-notes).

Expand Down Expand Up @@ -93,6 +94,16 @@ For sbt users, sbt 1.9.0 is the first version to support JDK 21.

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 22 compatibility notes

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

We are working on adding JDK 22 support to the 2.12.x, 2.13.x, and
3.3.x release series.

<!-- Initial support for JDK 22 has been merged and is now available in
Scala 3.3.2, 2.13.12, and 2.12.19. -->

## 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

0 comments on commit 199cd05

Please sign in to comment.