Skip to content

Commit 44a3695

Browse files
authored
Merge pull request #1968 from SethTisue/jdk16-final
update JDK compat page for JDK 16 release
2 parents 89162ed + eeeb74b commit 44a3695

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

_overviews/jdk-compatibility/overview.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ Sometimes new JVM and JDK (Java Development Kit) versions require us to update S
1212

1313
| JDK version | Minimum Scala versions | Recommended Scala versions |
1414
|:-----------:|:---------------------------------|:-----------------------------------------------------------|
15-
| 16, 17 | see below | see below
15+
| 17 | see below | see below
16+
| 16 | 2.13.5, 2.12.14 (forthcoming) | 2.13.5, 2.12.14 (forthcoming)
1617
| 13, 14, 15 | 2.13.2, 2.12.11 | 2.13.5, 2.12.13 |
1718
| 12 | 2.13.1, 2.12.9 | 2.13.5, 2.12.13 |
1819
| 11 | 2.13.0, 2.12.4, 2.11.12 | 2.13.5, 2.12.13, 2.11.12 |
@@ -39,7 +40,7 @@ JDK 8 and 11 are LTS versions. The next LTS version will be JDK 17, planned for
3940

4041
Scala provides experimental support for running the Scala compiler on non-LTS versions of the JDK. The current LTS versions are normally tested in our CI matrix and by the Scala community build. We may also test non-LTS versions, but any issues found there are considered lower priority, and will not be considered release blockers. (Lightbend may be able to offer faster resolution of issues like this under commercial support.)
4142

42-
As already mentioned, Scala code compiled on JDK 8 should run without problems in later JVMs. We will give higher priority to bugs that break this property. (For example, in the 2.13.x series we intend to provide support for JPMS module access checks, to ensure your code won't incur `LinkageErrors` due to module access violations.)
43+
As already mentioned, Scala code compiled on JDK 8 should run without problems in later JVMs. We will give higher priority to bugs that break this property. (For example, later in the 2.13.x series we hope to provide support for JPMS module access checks, to ensure your code won't incur `LinkageErrors` due to module access violations.)
4344

4445
## JDK vendors and distributions
4546

@@ -78,10 +79,16 @@ As far as we know, 12, 13, 14, and 15 are similar to 11 with respect to Scala co
7879

7980
## JDK 16 compatibility notes
8081

81-
JDK 16 prereleases are now available. The final release is [targeted](https://openjdk.java.net/projects/jdk/16/) for March 2021.
82+
JDK 16 was released in March 2021. It is not an LTS release, so the remarks above about non-LTS releases apply. The next LTS release will be JDK 17.
8283

8384
The Scala community build now runs on JDK 16. We shipped improved JDK 16 support in [Scala 2.13.5](https://github.com/scala/scala/releases/tag/v2.13.5) and intend to ship the same improvements soon in Scala 2.12.14 ([release timing thread](https://contributors.scala-lang.org/t/scala-2-12-14-planning/4852/2)).
8485

86+
## JDK 17 compatibility notes
87+
88+
JDK 17 prereleases are already available. The final release is [targeted](https://openjdk.java.net/projects/jdk/16/) for September 2021. JDK 17 will be an LTS release.
89+
90+
The Scala community build doesn't run on JDK 17 yet. We will add it once 17 is closer to release.
91+
8592
## Scala 3
8693

8794
The Scala 3.0.x series supports JDK 8, as well as 11 and beyond.

0 commit comments

Comments
 (0)