You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c3e740b
Browse filesBrowse the repository at this point in the historyBrowse files
Describe 2.98.0.2: one style, exit code 2 and a Windows binary
2.98.0.2 formats in the open-java-format style without being asked, so --ojf leaves every command on the site. The Command line page says why it went and that scripts still passing it get a warning, not a failure. The formatter now exits with 2 when it cannot read, parse or write a file or when an option is wrong, which the Command line page lists next to 0 and 1. The Claude Code hook drops its `|| exit 2` for the same reason. On the Migrate page a leftover --palantir now fails the run instead of passing unchecked, so the warning there becomes a note.
The release adds a native binary for Windows on x86-64: it is listed for download, and the pages that named Linux and macOS as the only native platforms name Windows too. The GitHub Action and the pre-commit hook still know only Linux and macOS, which their page now says as it is. The Gradle page is unchanged: the plugin does not run the native formatter on Windows yet.
Every changed command was run against a build of the formatter with the 2.98.0.2 changes, the hook taken from the built page.
0 commit comments