diff --git a/guava/pom.xml b/guava/pom.xml
index 3becbd6ceee6..1380aebaa0c3 100644
--- a/guava/pom.xml
+++ b/guava/pom.xml
@@ -389,6 +389,7 @@
-J--add-opens=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED
-J--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED
-J--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED
+ -J--add-opens=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED
-J--add-opens=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED
-J--add-opens=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED
-J--add-opens=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED