You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by le...@apache.org on 2022/11/09 19:07:53 UTC

[datasketches-memory] branch refactorInterfaces updated: A few added exports and opens.

This is an automated email from the ASF dual-hosted git repository.

leerho pushed a commit to branch refactorInterfaces
in repository https://gitbox.apache.org/repos/asf/datasketches-memory.git


The following commit(s) were added to refs/heads/refactorInterfaces by this push:
     new 6008e8a  A few added exports and opens.
6008e8a is described below

commit 6008e8ae8b3a55372eccf9833600a76654611a9e
Author: Lee Rhodes <le...@users.noreply.github.com>
AuthorDate: Wed Nov 9 11:07:46 2022 -0800

    A few added exports and opens.
---
 pom.xml | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index 2766c91..f637861 100644
--- a/pom.xml
+++ b/pom.xml
@@ -324,8 +324,13 @@
             </goals>
             <configuration>
               <compilerArgs>
+                <!-- exports required for compile only -->
                 <arg>--add-exports</arg>
                 <arg>java.base/jdk.internal.ref=org.apache.datasketches.memory</arg>
+                <arg>--add-exports</arg>
+                <arg>java.base/jdk.internal.misc=org.apache.datasketches.memory</arg>
+                <arg>--add-exports</arg>
+                <arg>java.base/sun.nio.ch=org.apache.datasketches.memory</arg>
               </compilerArgs>
               <jdkToolchain>
                 <version>11</version>
@@ -470,8 +475,14 @@
             <configuration>
               <jdkToolchain>
                 <version>11</version>
-              </jdkToolchain>
-              <argLine>--add-exports java.base/jdk.internal.ref=ALL-UNNAMED --add-exports java.base/jdk.internal.misc=ALL-UNNAMED --add-opens java.base/java.nio=ALL-UNNAMED --add-opens java.base/sun.nio.ch=ALL-UNNAMED</argLine>
+              </jdkToolchain>  <!-- exports required for compile, opens required for runtime -->
+              <argLine>
+                --add-exports java.base/jdk.internal.ref=ALL-UNNAMED
+                --add-exports java.base/jdk.internal.misc=ALL-UNNAMED
+                --add-exports java.base/sun.nio.ch=ALL-UNNAMED
+                --add-opens java.base/sun.nio.ch=ALL-UNNAMED
+                --add-opens java.base/java.nio=ALL-UNNAMED
+              </argLine>
             </configuration>
           </execution>
         </executions>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org