The minimum support JDK version to run google-java-format is now JDK 17 (#1159). Using google-java-format to format earlier versions of the language is still supported, but running the formatter itself on JDK 17 or newer is required.
Changes:
- Various improvements to text block formatting
- Improve formatting of
when
pattern guards
Full Changelog: v1.24.0...v1.25.0