Skip to content

Commit 85fca3e

Browse files
committed
Update README.md
1 parent 36bcac9 commit 85fca3e

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

README.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -106,17 +106,6 @@ Documentation from the google-java-format CLI tool :
106106
Do not remove unused imports. Imports will still be sorted.
107107
```
108108

109-
### JDK 16+ peculiarities
110-
111-
Since google-java-format uses JDK internal apis, if you need to run the plugin with JDK 16+, you must pass some additional arguments to the JVM.
112-
Those are described at https://github.com/google/google-java-format/releases/tag/v1.10.0.
113-
114-
Thanks to https://maven.apache.org/configure.html#mvn-jvm-config-file, you should be able to pass them to `.mvn/jvm.config` as follow:
115-
116-
```
117-
--add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
118-
```
119-
120109
### Frequently asked questions
121110

122111
#### If I have a multi-module project, do I need to install anything in the sub-projects?

0 commit comments

Comments
 (0)