Skip to content

--add-exports instead of --add-opens as stated in the google-java-formatter docs#258

Merged
mkurz merged 1 commit intosbt:mainfrom
mkurz:add-opens
Apr 11, 2026
Merged

--add-exports instead of --add-opens as stated in the google-java-formatter docs#258
mkurz merged 1 commit intosbt:mainfrom
mkurz:add-opens

Conversation

@mkurz
Copy link
Copy Markdown
Member

@mkurz mkurz commented Apr 11, 2026

@xuwei-k why did you use --add-opens in b62657f ?

https://github.com/google/google-java-format/blob/master/README.md just talks about --add-exports.

Also I see code is not needed for the tests, but docs recommend it, so I added it for sake of completenesss.

Maybe I do not understand - can you clarifiy? or just approve this PR if you are OK with it. thanks!

@mkurz mkurz merged commit 28ae4d1 into sbt:main Apr 11, 2026
2 checks passed
@mkurz mkurz deleted the add-opens branch April 11, 2026 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants