diff --git a/core/pom.xml b/core/pom.xml
index 064f9dee8..7b4a1d1f2 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -319,6 +319,7 @@
-J--add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED
-J--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED
-J--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
+ -march=compatibility