I encourage all Scala open-source maintainers to add JDK 17 to their CI matrices. Now’s a good time, since 17 is feature-frozen, the final release is expected in September, and it will be a “LTS” (long-term support) release.
As of today, the Scala community build (2.12 & 2.13) runs (and is mostly green) on JDK 17. Details: add JDK 17 build · Issue #1432 · scala/community-build · GitHub
A few repos fail because JDK 17 removes support for global
--illegal-access=permit. (I expect using
--add-opens instead would work?)