Skip to content

Improve JDK 9/10 compatibility notes visibility #1143

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
Sep 17, 2018
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
16 changes: 9 additions & 7 deletions _overviews/jdk-compatibility/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,14 @@ And as Scala and the JVM improve independently over time, Scala may drop compati

This table shows the first Scala release in each series that works with each JVM release.

| JVM version | Minimum Scala versions |
|:-----------:|:-----------------------------------------------------|
| 9, 10 | 2.12.4, 2.11.12, 2.10.7 |
| 8 | 2.12.0, 2.11.0, 2.10.2 |
| 7 | 2.11.0, 2.10.0 |
| 6 | 2.11.0, 2.10.0 |
| JVM version | Minimum Scala versions |
|:-----------:|:----------------------------------------------------------------------------------------------|
| 9, 10 | 2.12.4[¹](#jdk-9--10-compatibility-notes), 2.11.12[¹](#jdk-9--10-compatibility-notes), 2.10.7 |
| 8 | 2.12.0, 2.11.0, 2.10.2 |
| 7 | 2.11.0, 2.10.0 |
| 6 | 2.11.0, 2.10.0 |



## Running versus compiling

Expand All @@ -36,7 +38,7 @@ For example, Scala 2.12 raised the minimum JVM, for both compiling and running,

Like the 2.12.x series, the Scala 2.13.x series will support Java 8 and higher. (Eventually Java 11 or higher will become required, but the earliest this might happen is Scala 2.14.)

## JDK 9 & 10 compatibility notes
## ¹JDK 9 & 10 compatibility notes

As of Scala 2.12.6 and 2.11.12, **JDK 9 & 10 support is incomplete**. Notably, `scalac` will not enforce the restrictions of the Java Platform Module System, which means that code that typechecks may incur linkage errors at runtime.

Expand Down