MNEMONIC-663: Fix illegal reflective access operation in ChunkBuffer

Signed-off-by: Chunyong He <chunyong.he@gmail.com>
diff --git a/pom.xml b/pom.xml
index 5fe7857..1f989a7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -355,6 +355,7 @@
             <compilerArgs>
               <arg>-XDignore.symbol.file</arg>
               <arg>-XDenableSunApiLintControl</arg>
+              <arg>--add-opens=java.base/java.nio=ALL-UNNAMED</arg>
             </compilerArgs>
             <fork>true</fork>
           </configuration>
@@ -376,6 +377,7 @@
           <configuration>
             <skipTests>${skipTests}</skipTests>
             <enableAssertions>true</enableAssertions>
+            <argLine>--add-opens=java.base/java.nio=ALL-UNNAMED</argLine>
           </configuration>
         </plugin>
         <plugin>